| Balance Sheet Details (Tables)
 | 3 Months Ended | 
| Mar. 31, 2024 | 
|---|
| Balance Sheet Related Disclosures [Abstract] |  | 
| Summary of Cash and Cash Equivalents | 
Cash, cash equivalents and restricted cash consist of the following:
|  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  
|  |  | March 31, 2024 |  | December 31, 2023 |  
|  |  | (in thousands) |  
| Cash and cash equivalents |  | $ | 191,882 |  |  | $ | 187,288 |  |  
| Short-term restricted cash |  | 1,028 |  |  | 1,051 |  |  
| Long-term restricted cash |  | 20 |  |  | 17 |  |  
| Total cash, cash equivalents and restricted cash |  | $ | 192,930 |  |  | $ | 188,356 |  |  
|  |  |  |  |  |  
|  |  |  |  |  |  
|  |  |  |  |  |  | 
| Summary of Restriction Cash | 
Cash, cash equivalents and restricted cash consist of the following:
|  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  
|  |  | March 31, 2024 |  | December 31, 2023 |  
|  |  | (in thousands) |  
| Cash and cash equivalents |  | $ | 191,882 |  |  | $ | 187,288 |  |  
| Short-term restricted cash |  | 1,028 |  |  | 1,051 |  |  
| Long-term restricted cash |  | 20 |  |  | 17 |  |  
| Total cash, cash equivalents and restricted cash |  | $ | 192,930 |  |  | $ | 188,356 |  |  
|  |  |  |  |  |  
|  |  |  |  |  |  
|  |  |  |  |  |  | 
| Summary of Inventory | Inventory consists of the following: 
|  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  
|  |  | March 31, 2024 |  | December 31, 2023 |  
|  |  | (in thousands) |  
|  |  |  |  |  |  
| Work-in-process |  | $ | 58,676 |  |  | $ | 60,368 |  |  
| Finished goods |  | 37,449 |  |  | 39,540 |  |  
|  |  |  |  |  |  
|  |  |  |  |  |  
|  |  | $ | 96,125 |  |  | $ | 99,908 |  |  | 
| Summary of Property and Equipment | 
Property and equipment, net consists of the following:
|  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  
|  | Useful Life (in Years)
 |  | March 31, 2024 |  | December 31, 2023 |  
|  |  |  | (in thousands) |  
| Furniture and fixtures | 5 |  | $ | 3,958 |  |  | $ | 3,995 |  |  
| Machinery and equipment | 3-5 |  | 78,070 |  |  | 76,732 |  |  
| Masks and production equipment | 2-5 |  | 59,948 |  |  | 54,240 |  |  
| Software | 3 |  | 11,590 |  |  | 11,427 |  |  
| Leasehold improvements | 1-5 |  | 34,712 |  |  | 35,867 |  |  
| Construction in progress | N/A |  | 570 |  |  | 348 |  |  
|  |  |  | 188,848 |  |  | 182,609 |  |  
| Less: accumulated depreciation and amortization |  |  | (120,510) |  |  | (116,178) |  |  
|  |  |  | $ | 68,338 |  |  | $ | 66,431 |  |  | 
| Summary of Price Protection Liability | 
Accrued price protection liability consists of the following activity:
|  |  |  |  |  |  |  |  |  |  |  |  |  
|  | Three Months Ended March 31, |  
|  | 2024 |  | 2023 |  
|  | (in thousands) |  
| Beginning balance | $ | 71,684 |  |  | $ | 113,274 |  |  
|  |  |  |  |  
| Charged as a reduction of revenue | 12,132 |  |  | 28,536 |  |  
|  |  |  |  |  
| Payments | (18,583) |  |  | (38,013) |  |  
| Ending balance | $ | 65,233 |  |  | $ | 103,797 |  |  | 
| Summary of Accrued Expenses | 
Accrued expenses and other current liabilities consist of the following:
|  |  |  |  |  |  |  |  |  |  |  |  |  |  |  
|  | March 31, 2024 |  | December 31, 2023 |  |  |  
|  | (in thousands) |  |  |  
|  |  |  |  |  |  |  
|  |  |  |  |  |  |  
| Accrued technology license payments | $ | 4,540 |  |  | $ | 3,843 |  |  |  |  
| Accrued professional fees | 4,921 |  |  | 3,736 |  |  |  |  
| Accrued engineering and production costs | 5,620 |  |  | 2,861 |  |  |  |  
| Accrued restructuring | 21,603 |  |  | 8,301 |  |  |  |  
|  |  |  |  |  |  |  
| Accrued royalty | 348 |  |  | 603 |  |  |  |  
| Short-term lease liabilities | 9,167 |  |  | 9,132 |  |  |  |  
|  |  |  |  |  |  |  
| Accrued customer credits | 5,564 |  |  | 3,984 |  |  |  |  
|  |  |  |  |  |  |  
| Income tax liability | 379 |  |  | 521 |  |  |  |  
| Customer contract liabilities | 1,597 |  |  | 1,597 |  |  |  |  
| Accrued obligations to customers for price adjustments | 36,811 |  |  | 54,837 |  |  |  |  
| Accrued obligations to customers for stock rotation rights | 401 |  |  | 349 |  |  |  |  
| Contingent consideration - current portion | 2,535 |  |  | 2,462 |  |  |  |  
| Other | 4,646 |  |  | 6,242 |  |  |  |  
|  | $ | 98,132 |  |  | $ | 98,468 |  |  |  |  | 
| Summary of Accumulated Other Comprehensive Income (Loss) by Component | 
The following table summarizes the change in balances of accumulated other comprehensive income (loss) by component:
|  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  
|  |  |  | Cumulative Translation Adjustments |  |  |  | Pension and Other Defined Benefit Plan Obligation |  | Total |  
|  |  |  | (in thousands) |  
| Balance at December 31, 2023 |  |  | $ | (5,059) |  |  |  |  | $ | 1,268 |  |  | $ | (3,791) |  |  
| Other comprehensive income (loss) before reclassifications, net of tax |  |  | (1,782) |  |  |  |  | — |  |  | (1,782) |  |  
|  |  |  |  |  |  |  |  |  |  |  
|  |  |  |  |  |  |  |  |  |  |  
| Balance at March 31, 2024 |  |  | $ | (6,841) |  |  |  |  | $ | 1,268 |  |  | $ | (5,573) |  |  |