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

Debt - Narrative (Details)

v3.25.0.1
Debt - Narrative (Details)
1 Months Ended 2 Months Ended 3 Months Ended 12 Months Ended
Oct. 01, 2024
USD ($)
Dec. 01, 2023
USD ($)
Oct. 16, 2023
USD ($)
Feb. 29, 2024
USD ($)
Mar. 01, 2024
USD ($)
Dec. 01, 2023
USD ($)
Jun. 30, 2024
USD ($)
Dec. 31, 2024
USD ($)
Dec. 31, 2023
USD ($)
Oct. 18, 2024
USD ($)
Oct. 16, 2024
USD ($)
Cobra Acquisitions                      
Line of Credit Facility [Line Items]                      
Proceeds from financing transaction, net   $ 46,100,000                  
Cobra Acquisitions                      
Line of Credit Facility [Line Items]                      
Proceeds from financing transaction, net         $ 9,600,000            
Puerto Rico Electric Power Authority (PREPA) | Cobra Acquisitions                      
Line of Credit Facility [Line Items]                      
Proceeds from PREPA under settlement agreement $ 150,000,000                 $ 18,400,000  
Restricted cash               $ 19,300,000   19,300,000  
Proceeds from financing transaction, net           $ 8,600,000          
SPCP Group | Cobra Acquisitions                      
Line of Credit Facility [Line Items]                      
Proceeds from financing transaction, net       $ 9,600,000 $ 54,400,000   $ 9,600,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 Facility [Line Items]                      
Deferred financing costs                 $ 3,400,000    
Outstanding borrowing under the credit facility               $ 0 $ 0    
Revolving credit facility | Line of Credit                      
Line of Credit Facility [Line Items]                      
Maximum borrowing capacity     $ 75,000,000                
Average excess availability percentage, threshold two     66.6667%                
Average excess availability percentage, threshold one     33.3333%                
Stated interest rate     2.00%                
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               $ 25,200,000 $ 27,000,000    
Remaining borrowing capacity               17,700,000 20,700,000    
Debt instrument, covenant, event of default, potential interest rate increase     2.00%                
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 6,300,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, percent     7.50%                
Debt instrument, debt covenant, percentage of minimum prepayments made with non-recurring proceeds     50.00%                
Term credit facility, including interest paid-in-kind                      
Line of Credit Facility [Line Items]                      
Outstanding borrowing under the credit facility               $ 0 45,000,000    
Term credit facility, including interest paid-in-kind | Line of Credit                      
Line of Credit Facility [Line Items]                      
Outstanding borrowing under the credit facility                 $ 45,000,000    
Repayments of line of credit $ 50,900,000                    
Termination penalty waived (as percent) 1.00%