Balance Sheet Details - Schedule of Property and Equipment, Net (Details) - USD ($) $ in Thousands |
Dec. 31, 2023 |
Dec. 31, 2022 |
|---|---|---|
| Property Plant And Equipment [Line Items] | ||
| Total | $ 95,034 | $ 88,861 |
| Less: accumulated depreciation and amortization | (37,668) | (26,926) |
| Property and equipment, net | 57,366 | 61,935 |
| Machinery and Equipment | ||
| Property Plant And Equipment [Line Items] | ||
| Total | 27,809 | 21,537 |
| Computer Equipment | ||
| Property Plant And Equipment [Line Items] | ||
| Total | 17,923 | 17,803 |
| Computer Software | ||
| Property Plant And Equipment [Line Items] | ||
| Total | 2,961 | 3,010 |
| Furniture and Fixtures | ||
| Property Plant And Equipment [Line Items] | ||
| Total | 2,045 | 2,152 |
| Leasehold Improvements | ||
| Property Plant And Equipment [Line Items] | ||
| Total | 40,811 | 40,370 |
| Construction in Progress | ||
| Property Plant And Equipment [Line Items] | ||
| Total | $ 3,485 | $ 3,989 |