Balance Sheet Details - Narrative (Details) - USD ($) |
12 Months Ended | ||||||||
|---|---|---|---|---|---|---|---|---|---|
Dec. 31, 2022 |
Dec. 31, 2021 |
Dec. 31, 2020 |
|||||||
| Condensed Financial Statements, Captions [Line Items] | |||||||||
| Term of debt instrument | 12 months | 12 months | |||||||
| Current available-for-sale securities | $ 1,810,000,000 | $ 1,360,000,000 | |||||||
| Noncurrent available-for-sale securities | 320,700,000 | ||||||||
| Realized gain (loss) on available for sale securities | 0 | 0 | $ 0 | ||||||
| Unrealized gain (loss) | 0 | 0 | 0 | ||||||
| Income from equity investments | 200,000 | 11,600,000 | [1] | 0 | [1] | ||||
| Cash discounts reserve | 8,300,000 | 13,700,000 | 15,900,000 | ||||||
| Depreciation expense | 144,100,000 | 96,300,000 | 64,000,000.0 | ||||||
| Loss on disposal of machinery and equipment | 2,200,000 | 24,500,000 | 13,600,000 | ||||||
| Other assets | 47,100,000 | $ 10,500,000 | [2] | ||||||
| Maximum | |||||||||
| Condensed Financial Statements, Captions [Line Items] | |||||||||
| Term of debt instrument | 18 months | ||||||||
| Receiver Product Component | |||||||||
| Condensed Financial Statements, Captions [Line Items] | |||||||||
| Inventory write-down | $ 13,900,000 | $ 28,100,000 | $ 24,400,000 | ||||||
| |||||||||