Senior secured term loan facility and warrants - Narrative (Details) - USD ($) $ / shares in Units, $ in Thousands |
3 Months Ended | 6 Months Ended | ||||
|---|---|---|---|---|---|---|
Aug. 15, 2022 |
Jun. 30, 2026 |
Jun. 30, 2025 |
Jun. 30, 2026 |
Jun. 30, 2025 |
Dec. 31, 2025 |
|
| Debt Instrument [Line Items] | ||||||
| Securities called by warrant (in shares) | 27,743,685 | 27,743,685 | 23,897,532 | |||
| Issuance of shares (in shares) | 733,568 | |||||
| Senior secured term loans | $ 116,600 | $ 116,600 | $ 115,500 | |||
| Senior secured term loans, current portion | 6,180 | 6,180 | $ 3,000 | |||
| Loan Agreement Warrants | ||||||
| Debt Instrument [Line Items] | ||||||
| Securities called by warrant (in shares) | 527,295 | |||||
| Warrant exercise price (in dollars per share) | $ 8.30 | |||||
| Loan Agreement | ||||||
| Debt Instrument [Line Items] | ||||||
| Interest expense on debt | 4,383 | $ 4,274 | 8,005 | $ 8,059 | ||
| Line of Credit | Loan Agreement | Secured Debt | ||||||
| Debt Instrument [Line Items] | ||||||
| Face amount | $ 175,000 | |||||
| Long-term debt | $ 120,000 | |||||
| Interest expense on debt | $ 4,383 | $ 4,274 | $ 8,005 | $ 8,059 | ||
| Debt effective interest rate | 15.89% | 15.89% | 16.15% | |||
| X | ||||||||||
- Definition Exercise price per share or per unit of warrants or rights outstanding. Reference 1: http://www.xbrl.org/2003/role/disclosureRef
|
| X | ||||||||||
- Definition Number of securities into which the class of warrant or right may be converted. For example, but not limited to, 500,000 warrants may be converted into 1,000,000 shares. Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef
|
| X | ||||||||||
- Definition Face (par) amount of debt instrument at time of issuance. Reference 1: http://www.xbrl.org/2003/role/exampleRef
|
| X | ||||||||||
- Definition Effective interest rate for the funds borrowed under the debt agreement considering interest compounding and original issue discount or premium. Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef
|
| X | ||||||||||
- Definition Line items represent financial concepts included in a table. These concepts are used to disclose reportable information associated with domain members defined in one or many axes to the table. Reference 1: http://www.xbrl.org/2003/role/disclosureRef
|
| X | ||||||||||
- Definition Amount of the cost of borrowed funds accounted for as interest expense for debt. Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef
|
| X | ||||||||||
- Definition Amount, after deduction of unamortized premium (discount) and debt issuance cost, of long-term debt classified as current. Excludes lease obligation. Reference 1: http://www.xbrl.org/2003/role/exampleRef
|
| X | ||||||||||
- Definition The cash inflow from a contractual arrangement with the lender, including letter of credit, standby letter of credit and revolving credit arrangements, under which borrowings can be made up to a specific amount at any point in time with maturities due beyond one year or the operating cycle, if longer. Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef
|
| X | ||||||||||
- Definition Carrying value as of the balance sheet date, including the current and noncurrent portions, of collateralized debt obligations (with maturities initially due after one year or beyond the operating cycle, if longer). Such obligations include mortgage loans, chattel loans, and any other borrowings secured by assets of the borrower. Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef
|
| X | ||||||||||
- Definition Number of treasury shares or units reissued. Excludes reissuance of shares or units in treasury for award under share-based payment arrangement. Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef
|
| X | ||||||||||
- Details
|
| X | ||||||||||
- Details
|
| X | ||||||||||
- Details
|
| X | ||||||||||
- Details
|