| Balance Sheet Details (Tables)
 | 12 Months Ended | 
| Dec. 31, 2021 | 
|---|
| Balance Sheet Related Disclosures [Abstract] |  | 
| Schedule of Cash and Cash Equivalents | Cash, cash equivalents and restricted cash consist of the following: 
|  |  |  |  |  |  |  |  |  |  |  |  |  
|  | December 31, 2021 |  | December 31, 2020 |  
|  | (in thousands) |  
| Cash and cash equivalents | $ | 130,572 |  |  | $ | 148,901 |  |  
| Short-term restricted cash | 105 |  |  | 115 |  |  
| Long-term restricted cash | 1,061 |  |  | 1,018 |  |  
| Total cash, cash equivalents and restricted cash | $ | 131,738 |  |  | $ | 150,034 |  |  
|  |  |  |  |  
|  |  |  |  |  
|  |  |  |  |  | 
| Schedule of Restricted Cash | Cash, cash equivalents and restricted cash consist of the following: 
|  |  |  |  |  |  |  |  |  |  |  |  |  
|  | December 31, 2021 |  | December 31, 2020 |  
|  | (in thousands) |  
| Cash and cash equivalents | $ | 130,572 |  |  | $ | 148,901 |  |  
| Short-term restricted cash | 105 |  |  | 115 |  |  
| Long-term restricted cash | 1,061 |  |  | 1,018 |  |  
| Total cash, cash equivalents and restricted cash | $ | 131,738 |  |  | $ | 150,034 |  |  
|  |  |  |  |  
|  |  |  |  |  
|  |  |  |  |  | 
| Inventory | Inventory consists of the following: 
|  |  |  |  |  |  |  |  |  |  |  |  |  
|  | December 31, 2021 |  | December 31, 2020 |  
|  | (in thousands) |  
|  |  |  |  |  
| Work-in-process | $ | 72,369 |  |  | $ | 35,852 |  |  
| Finished goods | 59,334 |  |  | 61,987 |  |  
|  |  |  |  |  
|  |  |  |  |  
|  | $ | 131,703 |  |  | $ | 97,839 |  |  | 
| Prepaid and Other Current Assets | Prepaid and other current assets consist of the following: 
|  |  |  |  |  |  |  |  |  |  |  |  |  
|  | December 31, 2021 |  | December 31, 2020 |  
|  | (in thousands) |  
| Prepaid expenses | $ | 12,194 |  |  | $ | 7,674 |  |  
| Other receivables | — |  |  | 32,762 |  |  
| Other current assets | 9,806 |  |  | 6,985 |  |  
|  | $ | 22,000 |  |  | $ | 47,421 |  |  | 
| Property and Equipment, Net | Property and equipment, net consists of the following: 
|  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  
|  | Useful Life (in Years)
 |  | December 31, 2021 |  | December 31, 2020 |  
|  |  |  | (in thousands) |  
| Furniture and fixtures | 5 |  | $ | 3,917 |  |  | $ | 2,524 |  |  
| Machinery and equipment | 3-5 |  | 65,004 |  |  | 55,456 |  |  
| Masks and production equipment | 2-5 |  | 32,099 |  |  | 19,205 |  |  
| Software | 3 |  | 8,763 |  |  | 7,194 |  |  
| Leasehold improvements | 1-5 |  | 30,889 |  |  | 16,871 |  |  
| Construction in progress | N/A |  | 4,647 |  |  | 8,050 |  |  
|  |  |  | 145,319 |  |  | 109,300 |  |  
| Less: accumulated depreciation and amortization |  |  | (84,395) |  |  | (69,830) |  |  
|  |  |  | $ | 60,924 |  |  | $ | 39,470 |  |  | 
| Accrued Price Protection Liability | Accrued price protection liability consists of the following activity: 
|  |  |  |  |  |  |  |  |  |  |  |  |  
|  | Year Ended December 31, |  
|  | 2021 |  | 2020 |  
|  | (in thousands) |  
| Beginning balance | $ | 47,766 |  |  | $ | 12,557 |  |  
|  |  |  |  |  
| Charged as a reduction of revenue | 81,116 |  |  | 48,942 |  |  
| Reversal of unclaimed rebates | — |  |  | (159) |  |  
| Payments | (88,373) |  |  | (13,574) |  |  
| Ending balance | $ | 40,509 |  |  | $ | 47,766 |  |  | 
| Accrued Expenses and Other Current Liabilities | Accrued expenses and other current liabilities consist of the following: 
|  |  |  |  |  |  |  |  |  |  |  |  |  |  |  
|  | December 31, 2021 |  | December 31, 2020 |  |  |  
|  | (in thousands) |  |  |  
| Deferred purchase price payments | $ | — |  |  | $ | 34,484 |  |  |  |  
| Payables under transition services agreement | — |  |  | 17,420 |  |  |  |  
| Accrued technology license payments | 7,337 |  |  | 5,821 |  |  |  |  
| Accrued professional fees | 3,651 |  |  | 2,620 |  |  |  |  
| Accrued engineering and production costs | 2,934 |  |  | 3,448 |  |  |  |  
| Accrued restructuring | 320 |  |  | 3,628 |  |  |  |  
|  |  |  |  |  |  |  
| Accrued royalty | 2,080 |  |  | 1,965 |  |  |  |  
| Short-term lease liabilities | 8,888 |  |  | 8,144 |  |  |  |  
|  |  |  |  |  |  |  
| Accrued customer credits | 5,136 |  |  | 1,135 |  |  |  |  
|  |  |  |  |  |  |  
| Income tax liability | 7,105 |  |  | 1,193 |  |  |  |  
| Customer contract liabilities | 1,044 |  |  | 29 |  |  |  |  
| Accrued obligations to customers for price adjustments | 6,721 |  |  | 10,277 |  |  |  |  
| Accrued obligations to customers for stock rotation rights | 2,847 |  |  | 2,036 |  |  |  |  
| Other | 9,205 |  |  | 13,642 |  |  |  |  
|  | $ | 57,268 |  |  | $ | 105,842 |  |  |  |  | 
| Schedule 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 |  | Interest Rate Hedge |  | Pension and Other Defined Benefit Plan Obligation |  | Total |  
|  |  | (in thousands) |  
| Balance at December 31, 2019 |  |  | $ | (747) |  |  | $ | (140) |  |  | $ | — |  |  | $ | (887) |  |  
| Other comprehensive income (loss) before reclassifications, net of tax |  |  | 1,010 |  |  | 225 |  |  | 1,172 |  |  | 2,407 |  |  
| Amounts reclassified, net of tax |  |  | — |  |  | (85) |  |  | — |  |  | (85) |  |  
| Net current period other comprehensive income (loss) |  |  | 1,010 |  |  | 140 |  |  | 1,172 |  |  | 2,322 |  |  
|  |  |  |  |  |  |  |  |  |  |  
| Balance at December 31, 2020 |  |  | 263 |  |  | — |  |  | 1,172 |  |  | 1,435 |  |  
| Other comprehensive income (loss) before reclassifications, net of tax |  |  | (242) |  |  | — |  |  | 932 |  |  | 690 |  |  
|  |  |  |  |  |  |  |  |  |  |  
|  |  |  |  |  |  |  |  |  |  |  
|  |  |  |  |  |  |  |  |  |  |  
| Balance at December 31, 2021 |  |  | $ | 21 |  |  | $ | — |  |  | $ | 2,104 |  |  | $ | 2,125 |  |  
|  |  |  |  |  |  |  |  |  |  |  |