Income taxes - Deferred tax assets (liabilities) and unrecognized tax benefits (Details) - USD ($) $ in Thousands |
Dec. 31, 2025 |
Dec. 31, 2024 |
|---|---|---|
| Income taxes | ||
| Unrecognized tax benefits | $ 0 | $ 0 |
| Accrued interest | 0 | 0 |
| Deferred tax assets: | ||
| Net operating loss carryforwards | 67,313 | 4,244 |
| Tax credit carryforwards | 43,573 | 34,424 |
| Lease liability | 9,973 | 11,946 |
| Deferred revenue | 434 | 7,867 |
| Stock-based compensation | 6,123 | 5,328 |
| Non-deductible accruals and reserves | 2,035 | 2,435 |
| Capitalized research expenses | 25,502 | 50,974 |
| Intangibles | 444 | 499 |
| Total deferred tax assets | 155,397 | 117,717 |
| Less valuation allowance | (145,426) | (105,854) |
| Net deferred tax assets | 9,971 | 11,863 |
| Deferred tax liabilities | ||
| Right of use assets | (7,782) | (9,111) |
| Depreciation and amortization | $ (2,189) | $ (2,752) |
| 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://www.xbrl.org/2009/role/commonPracticeRef
|
| X | ||||||||||
- Definition Amount before allocation of valuation allowances of deferred tax asset attributable to deductible temporary differences from intangible assets including goodwill. 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 | ||||||||||
- 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 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 | ||||||||||
- 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
|
| 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
|
| X | ||||||||||
- References No definition available.
|
| X | ||||||||||
- Definition Amount of unrecognized tax benefits. Reference 1: http://www.xbrl.org/2003/role/exampleRef
|
| X | ||||||||||
- Definition Amount of interest expense accrued for an underpayment of income taxes. 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 capitalized research expenses. No definition available.
|
| X | ||||||||||
- Definition Amount of deferred tax asset attributable to lease liability. No definition available.
|