Income Taxes - Net deferred income tax assets and liabilities (Details) - USD ($) $ in Thousands |
Dec. 31, 2023 |
Dec. 31, 2022 |
Dec. 31, 2021 |
|---|---|---|---|
| Components of Deferred Tax Assets [Abstract] | |||
| Net operating loss carry-forwards | $ 284,514 | $ 257,062 | |
| Capitalized research and development costs | 72,364 | 35,295 | |
| Research and development credits | 37,336 | 25,237 | |
| Stock-based compensation | 10,809 | 10,167 | |
| Other | 3,210 | 1,674 | |
| Total gross deferred income tax assets | 408,233 | 329,435 | |
| Less: Valuation allowance | (394,997) | (316,155) | $ (185,367) |
| Deferred tax assets, net of valuation allowance | 13,236 | 13,280 | |
| Warrants | (13,236) | (13,280) | |
| Total deferred tax liabilities | (13,236) | (13,280) | |
| 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://www.xbrl.org/2003/role/disclosureRef
|
| 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://www.xbrl.org/2009/role/commonPracticeRef
|
| X | ||||||||||
- Definition Amount before allocation of valuation allowances of deferred tax asset attributable to deductible research tax credit 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 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://www.xbrl.org/2009/role/commonPracticeRef
|
| 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://www.xbrl.org/2009/role/commonPracticeRef
|