Annual report [Section 13 and 15(d), not S-K Item 405]

LONG-TERM DEBT (Details)

v3.25.0.1
LONG-TERM DEBT (Details)
$ / shares in Units, $ in Thousands
3 Months Ended 12 Months Ended
Dec. 03, 2024
USD ($)
day
$ / shares
Jul. 11, 2024
USD ($)
Dec. 31, 2024
USD ($)
Dec. 31, 2024
USD ($)
Dec. 31, 2023
USD ($)
Dec. 31, 2022
USD ($)
Nov. 25, 2024
USD ($)
Debt Instrument              
Principal payment     $ 0 $ 0 $ 8,996    
Effective interest rate         14.20%    
Debt issuance costs     12,200 12,200      
Debt issuance amortization expense       2,600 $ 3,000 $ 800  
Loss on extinguishment of debt     $ 3,200 10,148 0 0  
Financing Extinguishment Costs       4,496 0 $ 0  
Term Loan Agreement | Line of Credit              
Debt Instrument              
Extinguishment of debt       84,500      
Repayments of debt       $ 80,300      
Debt instrument, call premium percentage     4.00% 4.00%      
Convertible Notes | Convertible Debt              
Debt Instrument              
Debt face amount $ 165,000            
Debt instrument, interest rate, stated percentage 5.50%            
Debt instrument, convertible, conversion ratio 0.0436814            
Initial conversion price (in dollars per share) | $ / shares $ 22.89            
Debt instrument, convertible, threshold percentage 130.00%            
Debt instrument, convertible, threshold trading days | day 20            
Debt instrument, convertible, threshold consecutive trading days | day 30            
Convertible debt, fair value     $ 176,900 $ 176,900      
Unamortized balance of deferred financing costs     6,300 6,300      
Revolving Credit Facility | Seventh Amended and Restated Credit Agreement | Line of Credit              
Debt Instrument              
Maximum borrowing capacity   $ 200,000         $ 220,000
Revolving Credit Facility | Seventh Amended and Restated Credit Agreement | Line of Credit | Minimum              
Debt Instrument              
Commitment fee percentage   0.25%          
Revolving Credit Facility | Seventh Amended and Restated Credit Agreement | Line of Credit | Maximum              
Debt Instrument              
Commitment fee percentage   0.375%          
Revolving Credit Facility | Seventh Amended and Restated Credit Agreement | Line of Credit | SOFR              
Debt Instrument              
Interest rate   0.10%          
Revolving Credit Facility | Seventh Amended and Restated Credit Agreement | Line of Credit | SOFR | Minimum              
Debt Instrument              
Interest rate   2.75%          
Revolving Credit Facility | Seventh Amended and Restated Credit Agreement | Line of Credit | SOFR | Maximum              
Debt Instrument              
Interest rate   3.25%          
Revolving Credit Facility | Seventh Amended and Restated Credit Agreement | Line of Credit | SOFR Floor              
Debt Instrument              
Interest rate   1.00%          
Revolving Credit Facility | Term Loan Facility | Line of Credit              
Debt Instrument              
Unamortized balance of deferred financing costs         4,300    
Revolving Credit Facility | ABL Revolving Credit Facility | Line of Credit              
Debt Instrument              
Amounts outstanding under revolving line of credit     10,000 10,000      
Remaining capacity under the credit facility     209,700 209,700      
Covenant, minimum fixed charge coverage ratio   1.10          
Debt Instrument, covenant, minimum amount   $ 15,000          
Unamortized balance of deferred financing costs     $ 3,000 3,000      
Loss on extinguishment of debt       10,100      
Financing Extinguishment Costs       4,500      
Revolving Credit Facility | ABL Revolving Credit Facility | Line of Credit | Gain (Loss) on Extinguishment of Debt              
Debt Instrument              
Fees written off       5,600      
Revolving Credit Facility | ABL Revolving Credit Facility | Line of Credit | Interest Income (Expense), Nonoperating              
Debt Instrument              
Fees written off       $ 500      
Revolving Credit Facility | Restated ABL Agreement and Term Loan Agreement | Line of Credit              
Debt Instrument              
Unamortized balance of deferred financing costs         2,000    
Secured Debt | Term Loan Facility | Line of Credit              
Debt Instrument              
Maximum borrowing capacity   $ 55,000          
Repayments of debt $ 54,900            
Debt instrument, call premium percentage 3.00%            
Principal payment         $ 9,000