Income Taxes - Net deferred income tax assets and liabilities (Details) - USD ($) $ in Thousands |
Dec. 31, 2022 |
Dec. 31, 2021 |
Dec. 31, 2020 |
|---|---|---|---|
| Components of Deferred Tax Assets [Abstract] | |||
| Net operating loss carry-forwards | $ 257,062 | $ 165,032 | |
| Capitalized research and development costs | 35,295 | 0 | |
| Research and development credits | 25,237 | 12,864 | |
| Stock-based compensation | 10,167 | 6,264 | |
| Other | 1,674 | 1,207 | |
| Total gross deferred income tax assets | 329,435 | 185,367 | |
| Less: Valuation allowance | (316,155) | (185,367) | $ (81,968) |
| Deferred tax assets, net of valuation allowance | 13,280 | 0 | |
| Warrants | (13,280) | 0 | |
| Total deferred tax liabilities | (13,280) | 0 | |
| Total net deferred tax assets (liabilities): | $ 0 | $ 0 |
| X | ||||||||||
- Definition Deferred Tax Liabilities, Warrants No definition available.
|
| X | ||||||||||
- References 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 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 of deferred tax asset attributable to deductible temporary differences and carryforwards. Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef
|
| 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 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 allowances of deferred tax asset attributable to deductible temporary differences from reserves and accruals. 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 | ||||||||||
- Definition Amount, after deferred tax asset, of deferred tax liability attributable to taxable differences without jurisdictional netting. Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef
|