Quarterly report [Sections 13 or 15(d)]

Debt (Details)

v3.25.2
Debt (Details)
shares in Millions
6 Months Ended 12 Months Ended
Oct. 18, 2024
USD ($)
Oct. 01, 2024
USD ($)
Oct. 16, 2023
USD ($)
Jun. 30, 2025
USD ($)
Dec. 31, 2024
USD ($)
Jul. 02, 2025
USD ($)
Jul. 01, 2025
USD ($)
Apr. 11, 2025
USD ($)
shares
Oct. 16, 2024
USD ($)
Puerto Rico Electric Power Authority (PREPA) | Cobra Acquisitions                  
Line of Credit Facility [Line Items]                  
Proceeds from PREPA under settlement agreement $ 18,400,000       $ 168,400,000        
Restricted cash 19,300,000     $ 19,300,000          
Line of Credit | Cobra Acquisitions                  
Line of Credit Facility [Line Items]                  
Line of credit restricted cash                 105.00%
Revolving Credit Facility | Line of Credit                  
Line of Credit Facility [Line Items]                  
Maximum borrowing capacity     $ 50,000,000            
Stated interest rate     2.00%            
Average Excess Availability Percentage, threshold one     33.3333%            
Average Excess Availability Percentage, threshold two     66.6667%            
Fixed charges coverage ratio       1.0 1.0        
Fixed charges coverage ratio, total availability threshold percentage       10.00% 10.00%        
Fixed charges coverage ratio, dollar amount threshold       $ 5,000,000 $ 5,000,000        
Fixed charges coverage ratio, financial covenant period       30 days 30 days        
Borrowing base       $ 75,000,000.0 $ 25,200,000        
Remaining borrowing capacity       67,500,000 17,700,000        
Debt instrument, covenant, event of default, potential interest rate increase     2.00%            
Revolving Credit Facility | Line of Credit | Subsequent Event                  
Line of Credit Facility [Line Items]                  
Maximum borrowing capacity           $ 50,000,000 $ 75,000,000    
Revolving Credit Facility | Line of Credit | Puerto Rico Electric Power Authority (PREPA) | Cobra Acquisitions                  
Line of Credit Facility [Line Items]                  
Debt covenant, share repurchase threshold, value               $ 50,000,000  
Debt covenant, share repurchase threshold (in shares) | shares               10  
Debt covenant, share repurchase, restricted cash threshold after purchase               $ 50,000,000  
Revolving Credit Facility | Line of Credit | Minimum                  
Line of Credit Facility [Line Items]                  
Stated interest rate     1.75%            
Revolving Credit Facility | Line of Credit | Maximum                  
Line of Credit Facility [Line Items]                  
Stated interest rate     2.25%            
Letter of Credit | Cobra Acquisitions | Puerto Rico Electric Power Authority (PREPA)                  
Line of Credit Facility [Line Items]                  
Maximum borrowing capacity $ 18,400,000               $ 18,400,000
Outstanding borrowing under the credit facility       18,400,000          
Letter of Credit | Line of Credit                  
Line of Credit Facility [Line Items]                  
Outstanding borrowing under the credit facility       $ 7,500,000 $ 7,500,000        
New Term Credit Facility | Line of Credit                  
Line of Credit Facility [Line Items]                  
Maximum borrowing capacity     $ 45,000,000            
Debt Instrument, Variable Interest Rate, Type [Extensible Enumeration]     Secured Overnight Financing Rate (SOFR) [Member]            
Basis spread on variable rate     7.50%            
Term Credit Facility | Line of Credit                  
Line of Credit Facility [Line Items]                  
Repayments of line of credit   $ 50,900,000              
Termination penalty waived   1.00%