Income Taxes - Net Deferred Tax Assets (Details) - USD ($) $ in Thousands |
Dec. 31, 2024 |
Dec. 31, 2023 |
Dec. 31, 2022 |
Dec. 31, 2021 |
|---|---|---|---|---|
| Deferred tax assets: | ||||
| Net operating loss carryforwards | $ 134,571 | $ 120,971 | ||
| Tax credit carryforwards | 29,311 | 22,597 | ||
| Capitalized start-up costs | 121 | |||
| Capitalized research and development expenses, net - Sec. 59(e): | 1,814 | 3,570 | ||
| Capitalized research and development expenses, net Sec. 174 | 38,244 | 19,491 | ||
| Operating lease liabilities | 1,693 | 1,970 | ||
| Derivative liability | 3,082 | 6,981 | ||
| Stock-based Awards | 9,976 | 10,443 | ||
| Accrued expenses and other | 10,186 | 8,433 | ||
| Total deferred tax assets | 228,877 | 194,577 | ||
| Valuation allowance | (225,248) | (183,737) | $ (164,546) | $ (142,637) |
| Net deferred tax assets | 3,629 | 10,840 | ||
| Operating lease right of use assets | (1,383) | (1,507) | ||
| Convertible Notes | (6,603) | |||
| Barings Credit Facility | (2,246) | (2,730) | ||
| Total deferred tax liabilities | $ (3,629) | (10,840) | ||
| Net deferred tax assets |
| X | ||||||||||
- Definition Amount before allocation of valuation allowances of deferred tax asset attributable to capitalized research and development expenses, net - Section 174. No definition available.
|
| X | ||||||||||
- Definition Amount before allocation of valuation allowances of deferred tax asset attributable to deductible temporary differences from operating lease liabilities. No definition available.
|
| X | ||||||||||
- Definition Amount of deferred tax liability attributable to taxable temporary differences from convertible notes. No definition available.
|
| X | ||||||||||
- Definition Amount of deferred tax liability attributable to taxable temporary differences from credit agreement. No definition available.
|
| X | ||||||||||
- Definition Amount before allocation of valuation allowances of deferred tax asset attributable to capitalized research and development expenses, net - Section 59(e). 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 capital 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 temporary differences from derivative instruments. 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 and carryforwards. Reference 1: http://www.xbrl.org/2003/role/disclosureRef
|
| X | ||||||||||
- References No definition available.
|
| 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 | ||||||||||
- 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 a valuation allowances, of deferred tax assets attributable to deductible tax credit carryforwards including, but not limited to, research, foreign, general business, alternative minimum tax, and other deductible 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 accrued liabilities. 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 of deferred tax liability attributable to taxable temporary differences from leasing arrangements. Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef
|