Income Taxes - Schedule of deferred tax assets and liabilities (Details) - USD ($) $ in Thousands |
Dec. 31, 2022 |
Dec. 31, 2021 |
|---|---|---|
| Deferred tax assets: | ||
| Net operating losses | $ 54,300 | $ 46,339 |
| Capitalized Research and Experimental Expenditures | 27,568 | 0 |
| Operating lease liability | 21,443 | 9,290 |
| R&D and investment tax credits | 11,519 | 9,560 |
| Deferred revenue | 8,457 | 15,053 |
| Stock-based compensation | 6,296 | 3,675 |
| Unrealized gain/loss | 1,090 | 195 |
| Capitalized start-up costs | 699 | 875 |
| Other | 354 | 426 |
| Total gross deferred tax assets | 131,726 | 85,413 |
| Deferred tax liabilities: | ||
| Right-of-use asset | (19,868) | (9,242) |
| Fixed assets | (1,738) | (725) |
| Less: valuation allowance | (110,120) | (75,446) |
| Net deferred taxes | $ 0 | $ 0 |
| X | ||||||||||
- Definition Deferred Tax Assets, Capitalized Research And Development Expenditures No definition available.
|
| X | ||||||||||
- Definition Deferred tax assets capitalized start-up costs. No definition available.
|
| X | ||||||||||
- Definition Deferred tax assets operating lease liability. No definition available.
|
| X | ||||||||||
- Definition Deferred tax liabilities right-of-use asset. No definition available.
|
| X | ||||||||||
- References No definition available.
|
| X | ||||||||||
- References No definition available.
|
| X | ||||||||||
- Definition Amount before allocation of valuation allowances of deferred tax asset attributable to deductible temporary differences from deferred income. 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 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 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 difference from unrealized loss on investment in debt security measured at fair value with change in fair value recognized in net income (trading). 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://fasb.org/us-gaap/role/ref/legacyRef
|
| X | ||||||||||
- Definition Amount of deferred tax liability attributable to taxable temporary differences from property, plant, and equipment. Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef
|