| Income Taxes - Schedule of Deferred Income Tax Assets (Details) - USD ($) $ in Thousands | Dec. 31, 2022 | Dec. 31, 2021 | Dec. 31, 2020 | 
|---|---|---|---|
| Deferred tax assets: | |||
| Net operating loss carryforwards | $ 161,239 | $ 124,591 | $ 72,785 | 
| Research and development credits | 36,886 | 22,995 | 13,499 | 
| Accruals and reserves | 148 | 518 | 493 | 
| Property and equipment | 4,260 | 1,362 | 811 | 
| Stock-based compensation | 14,416 | 4,651 | 649 | 
| Goodwill | 4,920 | 3,819 | 0 | 
| Intangibles | 900 | 355 | 0 | 
| Lease Liability | 600 | 0 | 0 | 
| Capitalized R&D | 42,676 | 0 | 0 | 
| Total deferred tax assets | 266,045 | 158,291 | 88,237 | 
| Valuation allowance | (249,382) | (141,618) | (88,237) | 
| Net deferred tax assets | 16,663 | 16,673 | 0 | 
| Deferred tax liabilities | |||
| Contractual agreement | (16,663) | (16,673) | 0 | 
| Total deferred tax liabilities | (16,663) | (16,673) | 0 | 
| Net deferred tax assets | $ 0 | $ 0 | $ 0 | 
| X | ||||||||||
| 
- Definition Contractual agreement. No definition available. 
 | 
| X | ||||||||||
| 
- Definition Deferred Tax Assets, Leasing Arrangements No definition available. 
 | 
| X | ||||||||||
| 
- Definition Amount of deferred tax liability attributable to taxable temporary differences. Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef 
 | 
| X | ||||||||||
| 
- Definition Amount before allocation of valuation allowances of deferred tax asset attributable to deductible temporary differences from intangible assets including goodwill. No definition available. 
 | 
| X | ||||||||||
| 
- Definition Amount before allocation of valuation allowances of deferred tax asset attributable to deductible temporary differences and carryforwards. Reference 1: http://www.xbrl.org/2003/role/disclosureRef 
 | 
| X | ||||||||||
| 
- Definition Amount before allocation of valuation allowances of deferred tax asset attributable to deductible temporary differences from in-process research and development costs expensed in connection with a business combination. Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef 
 | 
| X | ||||||||||
| 
- Definition Amount, after allocation of valuation allowances and deferred tax liability, of deferred tax asset attributable to deductible differences and carryforwards, without jurisdictional netting. Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef 
 | 
| X | ||||||||||
| 
- Definition Amount after allocation of valuation allowances of deferred tax asset attributable to deductible temporary differences and carryforwards. Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef 
 | 
| X | ||||||||||
| 
- References No definition available. 
 | 
| X | ||||||||||
| 
- Definition Amount before allocation of valuation allowances of deferred tax asset attributable to deductible operating loss carryforwards. Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef 
 | 
| X | ||||||||||
| 
- Definition Amount, before allocation of valuation allowance, of deferred tax asset attributable to deductible temporary differences, classified as other. Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef 
 | 
| X | ||||||||||
| 
- Definition Amount before allocation of valuation allowances of deferred tax asset attributable to deductible temporary differences from property, plant, and equipment. No definition available. 
 | 
| X | ||||||||||
| 
- Definition Amount before allocation of valuation allowances of deferred tax asset attributable to deductible research tax credit carryforwards. Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef 
 | 
| X | ||||||||||
| 
- Definition Amount before allocation of valuation allowances of deferred tax asset attributable to deductible temporary differences from share-based compensation. Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef 
 | 
| X | ||||||||||
| 
- Definition Amount, before allocation of valuation allowance, of deferred tax asset attributable to deductible temporary differences from reserves, classified as other. Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef 
 | 
| X | ||||||||||
| 
- Definition Amount of deferred tax assets for which it is more likely than not that a tax benefit will not be realized. Reference 1: http://www.xbrl.org/2003/role/disclosureRef 
 | 
| X | ||||||||||
| 
- References No definition available. 
 |