Annual report pursuant to Section 13 and 15(d)

Summary of Significant Accounting Policies - Account Receivable Narrative (Details)

v3.24.0.1
Summary of Significant Accounting Policies - Account Receivable Narrative (Details) - USD ($)
$ in Thousands
2 Months Ended 12 Months Ended
Feb. 15, 2024
Jan. 18, 2024
Dec. 01, 2023
Nov. 01, 2023
Jul. 21, 2023
Jun. 08, 2023
Mar. 27, 2023
Jan. 18, 2023
Mar. 01, 2024
Dec. 01, 2023
Dec. 31, 2023
Dec. 31, 2022
Dec. 31, 2021
Oct. 16, 2023
Dec. 21, 2022
Nov. 21, 2022
Jul. 23, 2021
May 26, 2021
May 26, 2018
Oct. 19, 2017
Business Acquisition [Line Items]                                        
Allowance for doubtful accounts specific reserves                     $ 0 $ 3,600 $ 700              
Allowance for doubtful accounts, period increase                         300              
Proceeds from financing transaction, net                     46,120 0 0              
Cobra Acquisitions                                        
Business Acquisition [Line Items]                                        
Proceeds from legal settlements     $ 46,100                                  
Proceeds from financing transaction, net     46,100                                  
Litigation settlement, amount to be received         $ 72,000   $ 99,000                          
Amount awarded             210,000 $ 13,400                        
Puerto Rico Electric Power Authority (PREPA)                                        
Business Acquisition [Line Items]                                        
Litigation settlement, amount to be received           $ 99,000                            
Puerto Rico Electric Power Authority (PREPA) | Subsequent Event                                        
Business Acquisition [Line Items]                                        
Litigation amount in dispute   $ 70,400                                    
Withheld payments revoked $ 9,000                                      
Number of days to request reconsideration 15 days                                      
Puerto Rico Electric Power Authority (PREPA)                                        
Business Acquisition [Line Items]                                        
Interest income, other                     45,400 41,300 $ 36,600              
Interest charged on accounts receivable                     197,500 152,000                
Accounts receivable, contract costs, amount expected to be authorized                             $ 68,100 $ 5,600 $ 47,000 $ 47,000    
Puerto Rico Electric Power Authority (PREPA) | Cobra Acquisitions                                        
Business Acquisition [Line Items]                                        
Debt instrument, payment pending from third party                     204,800                  
Agreement amount                                     $ 900,000 $ 945,000
Accounts receivable, reimbursement amount                     99,000                  
Proceeds from legal settlements                     22,200                  
Proceeds from financing transaction, net                   $ 8,600                    
Litigation amount in dispute       $ 1,500                                
Puerto Rico Electric Power Authority (PREPA) | Cobra Acquisitions And SPCP Group | Subsequent Event                                        
Business Acquisition [Line Items]                                        
Proceeds from financing transaction, net                 $ 64,000                      
Puerto Rico Electric Power Authority (PREPA) | Revolving credit facility | Cobra Acquisitions                                        
Business Acquisition [Line Items]                                        
Debt instrument, payment pending from third party                     $ 402,300 $ 379,000                
Cobra Acquisitions | Puerto Rico Electric Power Authority (PREPA)                                        
Business Acquisition [Line Items]                                        
Accounts receivable, contract costs, amount expected to be authorized                           $ 54,400            
Litigation settlement, amount to be received       $ 82,400     $ 111,000                          
SPCP Group | Cobra Acquisitions                                        
Business Acquisition [Line Items]                                        
Accounts receivable, contract costs, amount expected to be authorized     $ 54,400             $ 54,400                    
SPCP Group | Cobra Acquisitions | Subsequent Event                                        
Business Acquisition [Line Items]                                        
Proceeds from financing transaction, net                 $ 9,600