v3.25.1
Debt - Additional Information (Details)
3 Months Ended
Mar. 07, 2025
USD ($)
Aug. 15, 2024
USD ($)
D
$ / shares
shares
Mar. 08, 2024
USD ($)
Feb. 15, 2024
USD ($)
Aug. 29, 2022
USD ($)
Mar. 31, 2025
USD ($)
$ / shares
Apr. 30, 2026
Dec. 31, 2025
Sep. 30, 2025
Jun. 30, 2025
Jan. 15, 2025
USD ($)
Dec. 31, 2024
USD ($)
$ / shares
Aug. 21, 2024
USD ($)
Mar. 07, 2024
USD ($)
Debt                            
Debt finance costs         $ 1,400,000                  
Short-term debt           $ 58,790,000           $ 54,659,000    
Par value (in dollars per share) | $ / shares           $ 0.01           $ 0.01    
Percentage of conversion price for conversion of convertible notes   130.00%                        
Number of trading days of certain fundamental change transactions that occur prior to close of business   35 days                        
Minimum liquidity covenant required           $ 15,000,000                
Anti-Cash Hoarding Covenant Requirement Amount           20,000,000                
Threshold consecutive trading days immediately preceding calendar year | D   30                        
Threshold trading days of 30 consecutive trading days for calculating share price | D   20                        
Revolving credit facility                            
Debt                            
Face amount         200,000,000 $ 200,000,000                
Effective rate (as a percent)           8.30%                
Line of credit           $ 147,500,000                
Letters of credit outstanding           $ 2,600,000                
Increase in available borrowings under the Credit Agreement                     $ 25,000,000      
Term Loan facility                            
Debt                            
Face amount         175,000,000                  
Variable rate (as a percent)           8.20%                
Periodic payment principal amount         $ 2,800,000                  
Percentage of original principal amount         1.25%                  
Term Loan facility | Year four                            
Debt                            
Periodic payment principal amount         $ 4,200,000                  
Percentage of original principal amount         1.875%                  
Term Loan facility | Year five                            
Debt                            
Periodic payment principal amount         $ 5,600,000                  
Percentage of original principal amount         2.50%                  
Delayed Draw Term Loan Facility                            
Debt                            
Face amount           $ 50,000,000                
Variable rate (as a percent)           8.30%                
Minimum | Subsequent Events                            
Debt                            
Interest coverage ratio               2 1.5          
Net Leverage Ratio             4.5              
Maximum | Subsequent Events                            
Debt                            
Net Leverage Ratio             6.25              
Maximum | Revolving credit facility                            
Debt                            
Net Leverage Ratio               5.25 5.5 6        
Base rate | One Month Interest Period                            
Debt                            
Interest rate (as a percent)         1.00%                  
Interest period         1 month                  
SOFR | One Month Interest Period                            
Debt                            
Variable rate (as a percent)         0.10%                  
Interest period         1 month                  
SOFR | Three Month Interest Period                            
Debt                            
Variable rate (as a percent)         0.15%                  
Interest period         3 months                  
SOFR | Six Month Interest Period                            
Debt                            
Variable rate (as a percent)         0.25%                  
Interest period         6 months                  
SOFR | Minimum | After the covenant relief period                            
Debt                            
Variable rate (as a percent)       2.00%                    
SOFR | Minimum | During the covenant relief period                            
Debt                            
Net Leverage Ratio       3                    
SOFR | Maximum | After the covenant relief period                            
Debt                            
Variable rate (as a percent)       3.00%                    
SOFR | Maximum | During the covenant relief period                            
Debt                            
Net Leverage Ratio       4                    
ABR rate | Minimum | After the covenant relief period                            
Debt                            
Variable rate (as a percent)       1.00%                    
ABR rate | Minimum | During the covenant relief period                            
Debt                            
Variable rate (as a percent)       2.00%                    
ABR rate | Maximum | After the covenant relief period                            
Debt                            
Variable rate (as a percent)       2.00%                    
ABR rate | Maximum | During the covenant relief period                            
Debt                            
Variable rate (as a percent)       3.00%                    
NYFRB                            
Debt                            
Interest rate (as a percent)         0.50%                  
New short-term trade finance facility                            
Debt                            
Face amount $ 85,000,000   $ 55,000,000                   $ 75,000,000 $ 70,000,000
Line of credit           $ 58,800,000                
Debt term 1 year   1 year                      
New short-term trade finance facility | SOFR                            
Debt                            
Variable rate (as a percent) 4.00%   4.00%                      
New short-term trade finance facility | SOFR one-month                            
Debt                            
Variable rate (as a percent) 1.00%   1.00%                      
New short-term trade finance facility | Federal Funds Rate                            
Debt                            
Variable rate (as a percent) 1.00%   1.00%                      
5.00% convertible senior notes due 2029                            
Debt                            
Interest rate (as a percent)       5.00%                    
Face amount   $ 1,000   $ 72,000,000                    
Debt converted into shares | shares   77.88                        
Percentage of shares issuable on outstanding common stock   19.99%                        
Conversion price | $ / shares   $ 12.84                        
5.00% convertible senior notes due 2029 | Related Party                            
Debt                            
Face amount       $ 50,000,000