The hidden costs of outsourcing: evidence from patent data · Study