Near or far? Spillovers in patenting, quality upgrading, and product releases. (5th May 2021)