Leases - Terms and discount rate (Details) - USD ($) $ in Thousands |
12 Months Ended | ||
|---|---|---|---|
Dec. 31, 2024 |
Dec. 31, 2023 |
Dec. 31, 2022 |
|
| Leases | |||
| Weighted average remaining lease term in years | 3 years 1 month 6 days | 4 years 1 month 6 days | |
| Weighted average discount rate | 11.85% | 12.00% | |
| Supplemental disclosure of cash flow information related to operating leases | |||
| Cash paid for amounts included in the measurement of lease liabilities | $ 3,027 | $ 2,663 | $ 2,549 |