Income taxes - Components of the company's current and deferred tax assets (Details) - USD ($) $ in Thousands |
Dec. 31, 2024 |
Dec. 31, 2023 |
|---|---|---|
| Deferred tax assets: | ||
| Operating loss carryforwards | $ 81,492 | $ 66,555 |
| Research credit carryforwards | 3,362 | |
| Operating lease liability | 2,641 | 3,680 |
| Share-based compensation | 21,035 | 15,577 |
| Depreciation & amortization | 1,508 | |
| Accrued expenses and other | 1,952 | 2,742 |
| Total deferred tax assets | 111,990 | 88,554 |
| Deferred tax liabilities: | ||
| Operating lease right-of-use asset | (2,201) | (3,389) |
| Total deferred tax liabilities | (2,201) | (3,389) |
| Valuation allowance | (99,672) | (80,274) |
| Net deferred tax assets | $ 10,117 | $ 4,891 |
| X | ||||||||||
- Definition Amount, before allocation of valuation allowances, of deferred tax asset attributable to deductible differences from depreciation and amortization. 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. 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, 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 | ||||||||||
- 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://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 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 | ||||||||||
- References No definition available.
|
| X | ||||||||||
- Definition Amount of deferred tax liability attributable to taxable temporary differences from leasing arrangements. Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef
|