Selected Balance Sheet Components - Schedule of property and equipment, net (Details) - USD ($) $ in Thousands |
Jun. 30, 2026 |
Dec. 31, 2025 |
|---|---|---|
| Property and equipment, net: | ||
| Total property and equipment, gross | $ 141,491 | $ 139,947 |
| Less accumulated depreciation | (35,888) | (31,550) |
| Total property and equipment, net | 105,603 | 108,397 |
| Machinery and equipment | ||
| Property and equipment, net: | ||
| Total property and equipment, gross | 26,086 | 14,498 |
| Furniture, fixtures and office equipment | ||
| Property and equipment, net: | ||
| Total property and equipment, gross | 5,302 | 5,424 |
| Computer equipment and software | ||
| Property and equipment, net: | ||
| Total property and equipment, gross | 18,740 | 18,953 |
| Leasehold improvements | ||
| Property and equipment, net: | ||
| Total property and equipment, gross | 80,102 | 76,421 |
| Construction in process | ||
| Property and equipment, net: | ||
| Total property and equipment, gross | $ 11,261 | $ 24,651 |
| X | ||||||||||
- Definition Amount of accumulated depreciation and amortization from plant, property, and equipment and right-of-use asset from finance lease. Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef
|
| X | ||||||||||
- Definition Amount, after accumulated depreciation and amortization, of property, plant, and equipment and finance lease right-of-use asset. Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef
|
| X | ||||||||||
- Definition Amount, before accumulated depreciation and amortization, of property, plant, and equipment and finance lease right-of-use asset. Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef
|
| X | ||||||||||
- Definition Line items represent financial concepts included in a table. These concepts are used to disclose reportable information associated with domain members defined in one or many axes to the table. Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef
|
| X | ||||||||||
- Details
|
| X | ||||||||||
- Details
|
| X | ||||||||||
- Details
|
| X | ||||||||||
- Details
|
| X | ||||||||||
- Details
|