v3.26.1
Debt - Additional Information (Details)
6 Months Ended 12 Months Ended
Aug. 15, 2024
USD ($)
D
$ / shares
Aug. 29, 2022
USD ($)
Jun. 30, 2026
USD ($)
D
$ / shares
shares
Dec. 31, 2025
USD ($)
$ / shares
Jun. 29, 2026
Apr. 20, 2026
Mar. 05, 2026
USD ($)
Mar. 04, 2026
USD ($)
Nov. 04, 2025
USD ($)
Jul. 23, 2025
USD ($)
Jul. 22, 2025
USD ($)
Mar. 07, 2025
USD ($)
Mar. 06, 2025
USD ($)
Jan. 15, 2025
USD ($)
Feb. 15, 2024
USD ($)
Debt                              
Total debt     $ 511,517,000 $ 526,789,000                      
Subordinated related party debt     $ 64,839,000 $ 64,754,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                        
Line of credit     $ 165,000,000                        
Weighted average effective rate (as a percent)     7.20%                        
Extended loans and commitments     $ 360,700,000                        
Minimum liquidity covenant required     25,000,000                        
Non extended loans and commitments amount     $ 25,800,000                        
Increase in available borrowings under the Credit Agreement                           $ 25,000,000  
Revolving credit facility | Test period ending September 30, 2025                              
Debt                              
Net Leverage Ratio                           5.5  
Revolving credit facility | Test period ending December 31, 2025                              
Debt                              
Net Leverage Ratio                           5.25  
Term Loan facility                              
Debt                              
Face amount   175,000,000                          
Effective rate (as a percent)     7.20%                        
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%                          
Standby letter of credit                              
Debt                              
Letters of credit outstanding     $ 2,000,000                        
Delayed Draw Term Loan Facility                              
Debt                              
Face amount     $ 50,000,000                        
Effective rate (as a percent)     7.10%                        
Maximum | Revolving credit facility                              
Debt                              
Net Leverage Ratio     3.75                        
Maximum | Revolving credit facility | Test period ending June 30, 2025                              
Debt                              
Net Leverage Ratio                           6  
Maximum | Revolving credit facility | Test period ending December 31, 2025                              
Debt                              
Interest coverage ratio                 1.5            
Net Leverage Ratio                 5.5            
Maximum | Revolving credit facility | Test period ending March 31, 2026                              
Debt                              
Net Leverage Ratio                 5.25            
Maximum | Revolving credit facility | Test period ending June 30, 2026                              
Debt                              
Net Leverage Ratio     4   5       5            
Maximum | Revolving credit facility | Test period ending September 30, 2026                              
Debt                              
Net Leverage Ratio     4   4.5       4.5            
Maximum | Revolving credit facility | Test period ending December 31, 2026                              
Debt                              
Net Leverage Ratio                 4            
Maximum | Revolving credit facility | Test period January 1 to September 30, 2026                              
Debt                              
Interest coverage ratio                 1.75            
Maximum | Revolving credit facility | Test period after October 1, 2026                              
Debt                              
Interest coverage ratio                 2            
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                          
NYFRB                              
Debt                              
Interest rate (as a percent)   0.50%                          
Related Party                              
Debt                              
Subordinated related party debt     $ 64,839,000 $ 64,754,000                      
Convertible notes payable                              
Debt                              
Total debt     102,000,000 $ 102,000,000                      
New short-term trade finance facility                              
Debt                              
Face amount             $ 110,000,000 $ 102,500,000   $ 102,500,000 $ 85,000,000 $ 85,000,000 $ 75,000,000    
Line of credit     55,800,000                        
Debt term       1 year                      
New short-term trade finance facility | SOFR                              
Debt                              
Variable rate (as a percent)       4.00%                      
New short-term trade finance facility | SOFR one-month                              
Debt                              
Variable rate (as a percent)       1.00%                      
New short-term trade finance facility | Federal Funds Rate                              
Debt                              
Variable rate (as a percent)       1.00%                      
5.00% convertible senior notes due 2029                              
Debt                              
Interest rate (as a percent)           5.00%                 5.00%
Total debt     71,700,000                        
Face amount $ 1,000                           $ 72,000,000
Subordinated related party debt     51,800,000                        
Initial conversion rate 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                             $ 52,000,000
5.00% convertible senior notes due 2029 | Convertible notes payable                              
Debt                              
Debt finance costs     500,000                        
5.00% convertible senior notes due 2031                              
Debt                              
Interest rate (as a percent)           5.00%     5.00%            
Total debt     29,000,000                        
Face amount $ 1,000               $ 30,000,000            
Subordinated related party debt     $ 13,000,000                        
Debt converted into shares | shares     5.7                        
Initial conversion rate     190.48                        
Percentage of conversion price for conversion of convertible notes     130.00%                        
Percentage of shares issuable on outstanding common stock     19.99%                        
Number of trading days of certain fundamental change transactions that occur prior to close of business     35 days                        
Threshold consecutive trading days immediately preceding calendar year | D     30                        
Threshold trading days of 30 consecutive trading days for calculating share price | D     20                        
Conversion price | $ / shares     $ 5.25                        
5.00% convertible senior notes due 2031 | Related Party                              
Debt                              
Face amount                 $ 13,500,000