Debt - Components of interest expense (Details) - USD ($) $ in Thousands |
12 Months Ended | ||
|---|---|---|---|
Dec. 31, 2025 |
Dec. 31, 2024 |
Dec. 31, 2023 |
|
| Debt Instrument [Line Items] | |||
| Interest incurred on finance lease and other financing obligations | $ 454 | $ 301 | $ 212 |
| Amortization of deferred financing costs on ABL Facility and 2025 Senior Secured Notes | 736 | 1,098 | 2,881 |
| Amortization of original issue discount on 2025 Senior Secured Notes | 440 | 1,745 | 750 |
| Interest income | (2,332) | (6,698) | (4,139) |
| Interest expense, net | 6,086 | 16,619 | 22,639 |
| ABL Facilities And Notes | |||
| Debt Instrument [Line Items] | |||
| Interest expense incurred on ABL Facility and 2025 Senior Secured Notes | 6,788 | 20,173 | 22,935 |
| Amortization of deferred financing costs on ABL Facility and 2025 Senior Secured Notes | $ 736 | $ 1,098 | $ 2,881 |
| X | ||||||||||
- Definition Amount of noncash expense included in interest expense to amortize debt discount and premium associated with the related debt instruments. Excludes amortization of financing costs. Alternate captions include noncash interest expense. Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef
|
| X | ||||||||||
- Definition Amount of amortization expense attributable to debt issuance costs. Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef
|
| 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 interest expense on finance lease liability. Reference 1: http://www.xbrl.org/2003/role/exampleRef
|
| 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 of interest income (expense) classified as operating. Reference 1: http://www.xbrl.org/2003/role/exampleRef
|
| X | ||||||||||
- Definition Amount of operating interest income, including, but not limited to, amortization and accretion of premiums and discounts on securities. Reference 1: http://www.xbrl.org/2003/role/exampleRef
|
| X | ||||||||||
- Details
|