Commitments and contingencies - Components of lease expense (Details) - USD ($) $ in Thousands |
12 Months Ended | ||
|---|---|---|---|
Dec. 31, 2025 |
Dec. 31, 2024 |
Dec. 31, 2023 |
|
| Commitments and contingencies | |||
| Operating lease cost | $ 5,100 | $ 5,299 | $ 5,408 |
| Variable lease cost | 3,231 | 2,924 | 2,777 |
| Finance lease cost: | |||
| Amortization of finance lease right-of-use assets | 217 | 53 | $ 0 |
| Interest on finance lease liabilities | 85 | 23 | |
| Total finance lease cost | $ 302 | $ 76 | |
| Weighted-average remaining operating lease term (years) | 5 years 4 months 24 days | 2 years | |
| Weighted average operating lease discount rate | 6.40% | 7.80% | |
| Weighted average remaining finance lease term (years) | 3 years 8 months 12 days | 4 years 8 months 12 days | |
| Weighted average finance lease discount rate | 9.50% | 9.50% | |
| X | ||||||||||
- Definition Amount of lease cost incurred by the lessee over the term of finance lease. No definition available.
|
| X | ||||||||||
- References No definition available.
|
| X | ||||||||||
- Definition Amount of interest expense on finance lease liability. Reference 1: http://www.xbrl.org/2003/role/exampleRef
|
| X | ||||||||||
- Definition Amount of amortization expense attributable to right-of-use asset from finance lease. Reference 1: http://www.xbrl.org/2003/role/exampleRef
|
| X | ||||||||||
- Definition Weighted average discount rate for finance lease calculated at point in time. Reference 1: http://www.xbrl.org/2003/role/exampleRef
|
| X | ||||||||||
- Definition Weighted average remaining lease term for finance lease, in 'PnYnMnDTnHnMnS' format, for example, 'P1Y5M13D' represents reported fact of one year, five months, and thirteen days. Reference 1: http://www.xbrl.org/2003/role/exampleRef
|
| X | ||||||||||
- References No definition available.
|
| X | ||||||||||
- Definition Amount of single lease cost, calculated by allocation of remaining cost of lease over remaining lease term. Includes, but is not limited to, single lease cost, after impairment of right-of-use asset, calculated by amortization of remaining right-of-use asset and accretion of lease liability. Reference 1: http://www.xbrl.org/2003/role/exampleRef
|
| X | ||||||||||
- Definition Weighted average discount rate for operating lease calculated at point in time. Reference 1: http://www.xbrl.org/2003/role/exampleRef
|
| X | ||||||||||
- Definition Weighted average remaining lease term for operating lease, in 'PnYnMnDTnHnMnS' format, for example, 'P1Y5M13D' represents reported fact of one year, five months, and thirteen days. Reference 1: http://www.xbrl.org/2003/role/exampleRef
|
| X | ||||||||||
- Definition Amount of variable lease cost, excluded from lease liability, recognized when obligation for payment is incurred for finance and operating leases. Reference 1: http://www.xbrl.org/2003/role/exampleRef
|