Income taxes - Deferred tax (Details) - USD ($) $ in Thousands |
Dec. 31, 2023 |
Dec. 31, 2022 |
Dec. 31, 2021 |
|---|---|---|---|
| Deferred tax assets | |||
| Net operating loss carry forwards | $ 88,219 | $ 68,450 | |
| Research and development tax credit carry forwards | 12,846 | 7,704 | |
| License fees | 5,545 | 3,355 | |
| Stock based compensation | 14,286 | 8,974 | |
| Capitalized research and experimentation costs | 58,610 | 20,803 | |
| Accruals, reserves and other | 242 | 191 | |
| Total deferred tax assets | 179,748 | 109,477 | |
| Valuation allowance | (177,061) | (108,690) | $ (66,853) |
| Net deferred tax assets | 2,687 | 787 | |
| Deferred tax liabilities | |||
| Prepaid expenses | (2,687) | (787) | |
| Net deferred tax liabilities | $ (2,687) | $ (787) |
| X | ||||||||||
- Definition Amount before allocation of valuation allowances of deferred tax asset attributable to license fees. 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 | ||||||||||
- References No definition available.
|
| 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 allowance, of deferred tax asset attributable to deductible temporary differences from reserves and accruals, classified as other. 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 consequences attributable to taxable temporary differences derived from prepaid expenses. No definition available.
|