Debt - Narrative (Details) shares in Millions | | 1 Months Ended | 3 Months Ended | | |
Jan. 04, 2024 USD ($) | Mar. 31, 2024 USD ($) | Jan. 31, 2023 USD ($) shares | Mar. 31, 2024 USD ($) | Dec. 31, 2023 USD ($) | Mar. 31, 2023 |
Debt Instrument [Line Items] | | | | | | |
Long-term debt, gross | | $ 293,696,000 | | $ 293,696,000 | $ 137,072,000 | |
Outstanding letters of credit | | 21,000,000 | | $ 21,000,000 | 20,300,000 | |
Seller Term Loan | | | | | | |
Debt Instrument [Line Items] | | | | | | |
Face amount | $ 60,000,000 | | | | | |
Reduction of debt principal amount | | 300,000 | | | | |
Fixed charge coverage ratio | 1 | | | | | |
Seller Term Loan | Debt Instrument, Redemption, Period One | | | | | | |
Debt Instrument [Line Items] | | | | | | |
Debt stated interest rate | 11% | | | | | |
Seller Term Loan | Debt Instrument, Redemption, Period Two | | | | | | |
Debt Instrument [Line Items] | | | | | | |
Debt stated interest rate | 17% | | | | | |
Seller Term Loan | Debt Instrument, Redemption, Period Three | | | | | | |
Debt Instrument [Line Items] | | | | | | |
Debt stated interest rate | 17.50% | | | | | |
Revolving Credit Facility | 2017 Credit Facility | Secured Overnight Financing Rate (SOFR) | | | | | | |
Debt Instrument [Line Items] | | | | | | |
Variable interest rate | | | | 1% | | |
Revolving Credit Facility | 2017 Credit Facility | Base Rate | Minimum | | | | | | |
Debt Instrument [Line Items] | | | | | | |
Commitment fee percentage | | | | 1.25% | | |
Revolving Credit Facility | 2017 Credit Facility | Base Rate | Maximum | | | | | | |
Debt Instrument [Line Items] | | | | | | |
Commitment fee percentage | | | | 1.75% | | |
Revolving Credit Facility | 2017 Credit Facility | Federal Funds Effective Swap Rate | | | | | | |
Debt Instrument [Line Items] | | | | | | |
Variable interest rate | | | | 0.50% | | |
Revolving Credit Facility | Credit Facility Unused Portion Greater Than 50% | | | | | | |
Debt Instrument [Line Items] | | | | | | |
Unused capacity commitment fee percentage | | | | 0.375% | | |
Revolving Credit Facility | Credit Facility Unused Portion Less Than or Equal to 50% | | | | | | |
Debt Instrument [Line Items] | | | | | | |
Commitment fee percentage | | | | 0.50% | | |
2025 Notes | | | | | | |
Debt Instrument [Line Items] | | | | | | |
Debt conversion, interest rate of debt | | | | 9% | | |
Long-term debt, gross | | $ 134,208,000 | | $ 134,208,000 | 134,208,000 | |
Debt conversion, percent payable in cash | | | | 6.25% | | |
Debt conversion, percent payable in cash or additional notes (as percent) | | | | 2.75% | | |
Debt instrument, mandatorily convertible, face amount | | | $ 122,800,000 | | | |
Debt conversion, converted instrument, rate | | | 48% | | | |
Debt conversion shares amount (in shares) | shares | | | 4.5 | | | |
Credit Facility | | | | | | |
Debt Instrument [Line Items] | | | | | | |
Percentage of borrowing base | | 50% | | 50% | | |
Debt instrument, carrying value | | $ 96,500,000 | | $ 96,500,000 | | |
Line of credit facility, remaining borrowing capacity | | 71,600,000 | | 71,600,000 | | |
Credit Facility | Seller Term Loan | Minimum | | | | | | |
Debt Instrument [Line Items] | | | | | | |
Fixed charge coverage ratio consecutive days threshold | 60 days | | | | | |
Credit Facility | Seller Term Loan, 12.5% of Borrowing Base | | | | | | |
Debt Instrument [Line Items] | | | | | | |
Percentage of borrowing base | 12.50% | | | | | |
Line of credit facility, maximum borrowing capacity | $ 31,250,000 | | | | | |
Credit Facility | 2017 Credit Facility | | | | | | |
Debt Instrument [Line Items] | | | | | | |
Long-term debt, gross | | 96,471,000 | | 96,471,000 | $ 0 | |
Line of credit facility, current borrowing capacity | | 189,100,000 | | 189,100,000 | | |
Debt instrument, carrying value | | $ 96,500,000 | | $ 96,500,000 | | |
Credit Facility | 2017 Credit Facility, 12.5% of Borrowing Base | | | | | | |
Debt Instrument [Line Items] | | | | | | |
Percentage of borrowing base | | 12.50% | | 12.50% | | |
Line of credit facility, maximum borrowing capacity | | $ 31,250,000 | | $ 31,250,000 | | |
Credit Facility | 2017 Credit Facility, 12.5% of Borrowing Base | Minimum | | | | | | |
Debt Instrument [Line Items] | | | | | | |
Fixed charge coverage ratio | | | | 1 | | |
Fixed charge coverage ratio consecutive days threshold | | | | 60 days | | |
Credit Facility | Revolving Credit Facility | | | | | | |
Debt Instrument [Line Items] | | | | | | |
Line of credit facility, maximum borrowing capacity | | 250,000,000 | | $ 250,000,000 | | |
Line of credit facility, incremental commitments | | $ 100,000,000 | | $ 100,000,000 | | |
Weighted average interest rate | | 8.34% | | 8.34% | | 7.96% |
Credit Facility | Revolving Credit Facility | SOFR Floor | | | | | | |
Debt Instrument [Line Items] | | | | | | |
Variable interest rate | | | | 0% | | |
Credit Facility | Revolving Credit Facility | Secured Overnight Financing Rate (SOFR) | Minimum | | | | | | |
Debt Instrument [Line Items] | | | | | | |
Variable interest rate | | | | 2.25% | | |
Credit Facility | Revolving Credit Facility | Secured Overnight Financing Rate (SOFR) | Maximum | | | | | | |
Debt Instrument [Line Items] | | | | | | |
Variable interest rate | | | | 2.75% | | |
Credit Facility | Revolving Credit Facility | Base Rate | Minimum | | | | | | |
Debt Instrument [Line Items] | | | | | | |
Variable interest rate | | | | 1.25% | | |
Credit Facility | Revolving Credit Facility | Base Rate | Maximum | | | | | | |
Debt Instrument [Line Items] | | | | | | |
Variable interest rate | | | | 1.75% | | |
Credit Facility | Revolving Credit Facility | CORRA Rate | Minimum | | | | | | |
Debt Instrument [Line Items] | | | | | | |
Variable interest rate | | | | 2.25% | | |
Credit Facility | Revolving Credit Facility | CORRA Rate | Maximum | | | | | | |
Debt Instrument [Line Items] | | | | | | |
Variable interest rate | | | | 2.75% | | |
Credit Facility | Revolving Credit Facility | Canadian Subsidiaries | | | | | | |
Debt Instrument [Line Items] | | | | | | |
Line of credit facility, maximum borrowing capacity | | $ 50,000,000 | | $ 50,000,000 | | |
Credit Facility | Letter of Credit | | | | | | |
Debt Instrument [Line Items] | | | | | | |
Line of credit facility, maximum borrowing capacity | | 70,000,000 | | 70,000,000 | | |
Credit Facility | Letter of Credit | 2017 Credit Facility | | | | | | |
Debt Instrument [Line Items] | | | | | | |
Line of credit outstanding | | 21,000,000 | | 21,000,000 | | |
Credit Facility | Letter of Credit | Canadian Subsidiaries | | | | | | |
Debt Instrument [Line Items] | | | | | | |
Line of credit facility, maximum borrowing capacity | | $ 10,000,000 | | $ 10,000,000 | | |