Balance Sheet Details - Inventory (Details 2) - USD ($) $ in Thousands  | 
Mar. 31, 2021  | 
Dec. 31, 2020  | 
|---|---|---|
| Balance Sheet Related Disclosures [Abstract] | ||
| Work-in-process | $ 46,901 | $ 35,852 | 
| Finished goods | 45,253 | 61,987 | 
| Inventory | $ 92,154 | $ 97,839 | 
| X | ||||||||||
- References No definition available. 
  | 
| X | ||||||||||
- Definition Amount before valuation and LIFO reserves of completed merchandise or goods expected to be sold within one year or operating cycle, if longer. Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef 
  | 
| X | ||||||||||
- Definition Amount after valuation and LIFO reserves of inventory expected to be sold, or consumed within one year or operating cycle, if longer. Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef 
  | 
| X | ||||||||||
- Definition Amount before valuation and LIFO reserves of merchandise or goods in the production process expected to be completed within one year or operating cycle, if longer. Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef 
  |