Commitments and Contingencies - Additional Information (Details) - USD ($) $ in Thousands |
Jun. 30, 2024 |
Dec. 31, 2023 |
|---|---|---|
| Commitments And Contingencies [Line Items] | ||
| Unrecorded purchase commitment | $ 190,100 | |
| Letters of credit outstanding | 36,800 | $ 37,500 |
| Manufacturing | ||
| Commitments And Contingencies [Line Items] | ||
| Purchase commitments for inventory and license | 326,000 | |
| Loss contingency accrual | 14,000 | |
| Content Publishers | ||
| Commitments And Contingencies [Line Items] | ||
| Purchase commitments for inventory and license | 262,645 | |
| Content Publishers | Current Liabilities | ||
| Commitments And Contingencies [Line Items] | ||
| Purchase commitments for inventory and license | 55,100 | |
| Content Publishers | Other Long-Term Liabilities | ||
| Commitments And Contingencies [Line Items] | ||
| Purchase commitments for inventory and license | $ 17,400 |