Leases - Other information related to leases (Details) - USD ($) $ in Thousands |
12 Months Ended | ||
|---|---|---|---|
Dec. 31, 2025 |
Dec. 31, 2024 |
Dec. 31, 2023 |
|
| Leases | |||
| Operating cash flows for operating leases | $ 9,178 | $ 12,068 | $ 16,893 |
| Operating cash flows for finance leases | 645 | 233 | 359 |
| Financing cash flows for finance leases | 1,409 | 5,813 | 4,835 |
| ROU assets obtained in exchange for lease liabilities - operating leases | 4,051 | 13,870 | 12,164 |
| ROU assets obtained in exchange for lease liabilities - finance leases | $ 8,037 | $ 4,848 | $ 1,710 |
| Weighted average remaining lease term - operating leases | 2 years 7 months 6 days | 2 years 4 months 24 days | |
| Weighted average discount rate - operating leases | 7.27% | 5.62% | |
| Weighted average remaining lease term - finance leases | 4 years 3 months 18 days | 4 years 8 months 12 days | |
| Weighted average discount rate - finance leases | 9.34% | 8.48% | |
| X | ||||||||||
- References No definition available.
|
| X | ||||||||||
- References No definition available.
|
| X | ||||||||||
- Definition Amount of cash outflow for principal payment on finance lease. Reference 1: http://www.xbrl.org/2003/role/disclosureRef
|
| 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 cash outflow from operating lease to bring another asset to condition and location necessary for its intended use. Reference 1: http://www.xbrl.org/2003/role/disclosureRef
|
| 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 increase in right-of-use asset obtained in exchange for finance lease liability. Reference 1: http://www.xbrl.org/2003/role/exampleRef
|