Quarterly report pursuant to Section 13 or 15(d)

Accrued Expenses and Other Current Liabilities and Other Long-Term Liabilities - Footnote (Details)

v3.24.2.u1
Accrued Expenses and Other Current Liabilities and Other Long-Term Liabilities - Footnote (Details) - USD ($)
$ in Thousands
1 Months Ended 2 Months Ended 3 Months Ended
Feb. 26, 2024
Dec. 01, 2023
Jun. 01, 2022
Jun. 01, 2021
Dec. 30, 2020
Feb. 29, 2024
Jan. 31, 2024
Feb. 28, 2024
Dec. 01, 2023
Mar. 31, 2024
Jun. 30, 2024
Dec. 31, 2023
Dec. 30, 2023
Schedule of Other Operating Cost and Expense, by Component [Line Items]                          
Financing arrangement, net                     $ 0 $ 48,943  
Cobra Acquisitions                          
Schedule of Other Operating Cost and Expense, by Component [Line Items]                          
Accounts receivable, sale   $ 54,400                      
Financing arrangement, net                       $ 48,900  
Proceeds from financing transaction, net   $ 46,100                      
Cobra Acquisitions | Puerto Rico Electric Power Authority (PREPA)                          
Schedule of Other Operating Cost and Expense, by Component [Line Items]                          
Proceeds from financing transaction, net                 $ 8,600        
Cobra Acquisitions | SPCP Group                          
Schedule of Other Operating Cost and Expense, by Component [Line Items]                          
Proceeds from financing transaction, net           $ 9,600   $ 9,600   $ 9,600      
Cobra Acquisitions And SPCP Group | Puerto Rico Electric Power Authority (PREPA)                          
Schedule of Other Operating Cost and Expense, by Component [Line Items]                          
Proceeds from financing transaction, net $ 50,600           $ 13,400 64,000   64,000      
SPCP Group | Cobra Acquisitions                          
Schedule of Other Operating Cost and Expense, by Component [Line Items]                          
Proceeds from financing transaction, net               $ 54,400   $ 54,400      
Minimum                          
Schedule of Other Operating Cost and Expense, by Component [Line Items]                          
Financed insurance premium interest rate                     6.60% 6.60%  
Maximum                          
Schedule of Other Operating Cost and Expense, by Component [Line Items]                          
Financed insurance premium interest rate                     7.39% 7.05%  
First National Capital, LLC                          
Schedule of Other Operating Cost and Expense, by Component [Line Items]                          
Proceeds from sale of assets     $ 4,600 $ 9,500 $ 5,000                
Term of contract     42 months 42 months 36 months                
Monthly rental payment amount     $ 100 $ 200 $ 100                
Renewal term                         12 months