v3.24.0.1
Debt - Additional Information (Details) - USD ($)
$ in Thousands
1 Months Ended 12 Months Ended
Dec. 27, 2023
Dec. 20, 2023
Jul. 21, 2023
Jun. 15, 2023
Dec. 23, 2022
Dec. 19, 2022
Aug. 25, 2021
Jul. 21, 2023
Dec. 31, 2023
Dec. 31, 2022
Nov. 10, 2023
Feb. 15, 2023
Aug. 29, 2022
Jan. 10, 2020
Line of Credit Facility [Line Items]                            
Current borrowing capacity $ 100,000                          
Payment of debt issuance costs                 $ 5,000 $ 5,257        
Loss on extinguishment of debt, net                 (116) (2,303)        
Long-term debt                 1,190,038          
Long-term debt                 1,232,805 678,054        
Total                 29,242          
Investment tax credit                 13,200          
Implied interest on financing lease obligation                 2,600          
Difference between minimum lease payments and fair value of financing lease obligations acquired                 400          
Surety Bond                            
Line of Credit Facility [Line Items]                            
Face amount                 $ 5,400 2,000        
Financing obligations recognized in failed sale leaseback transactions                            
Line of Credit Facility [Line Items]                            
Weighted average interest rate                 3.97%          
Loss on extinguishment of debt, net                 $ 100          
Sale leaseback transaction value                 41,800 35,600        
Deferred transaction cost                 900 1,100        
Payment of financing obligation                 5,500 2,200        
Interest expense                 1,700 1,500        
Debt repayment                 2,600          
Payments of financing costs                 2,700          
Long-term debt                 42,767 36,724        
Total                 29,200          
Stellar HI Acquisition                            
Line of Credit Facility [Line Items]                            
Difference between minimum lease payments and fair value of finance lease obligations                 $ 3,400          
APAF Term Loan                            
Line of Credit Facility [Line Items]                            
Weighted average interest rate                 3.51%          
Line of credit outstanding                 $ 474,600 487,200        
Debt issuance costs                 6,700 7,600        
Long-term debt                 474,609 487,179        
APAF II Term Loan                            
Line of Credit Facility [Line Items]                            
Face amount                 112,800 125,700        
Fixed interest rate         4.885%                  
Outstanding principal balance                 2,200 2,700        
Long-term debt                 $ 112,810 125,668        
APAF II Term Loan | Secured Overnight Financing Rate (SOFR)                            
Line of Credit Facility [Line Items]                            
Weighted average interest rate                 1.475%          
Base spread         1.475%                  
APAF II Term Loan | Other term loans                            
Line of Credit Facility [Line Items]                            
Face amount         $ 125,700                  
APAF III Term Loan                            
Line of Credit Facility [Line Items]                            
Maximum borrowing capacity   $ 163,000 $ 28,000 $ 47,000       $ 28,000            
Weighted average interest rate                 6.03%          
Line of credit outstanding                       $ 204,000    
Face amount                 $ 426,600          
Outstanding principal balance                 14,300          
Interest rate   6.03%                   5.62%    
Payment of debt issuance costs   $ 1,300 200 300         4,000          
Amortization of debt discount (premium)   800 $ 1,100 1,500         6,300          
Debt commitment fees and debt issuance costs   $ 800           $ 1,000            
Loss on extinguishment of debt, net                 200          
Long-term debt                 $ 426,619 0        
APAF III Term Loan | True Green II Acquisition                            
Line of Credit Facility [Line Items]                            
Current borrowing capacity                       $ 193,000    
APAGH Term Loan                            
Line of Credit Facility [Line Items]                            
Maximum borrowing capacity $ 100,000                          
Weighted average interest rate                 8.50%          
Face amount                 $ 100,000          
Outstanding principal balance                 4,000          
Interest rate 8.50%                          
Payment of debt issuance costs $ 1,000                          
Amortization of debt discount (premium) 3,000                          
Line of credit facility, commitment fee amount $ 100,000                          
Long-term debt                 100,000 0        
APAG Revolver                            
Line of Credit Facility [Line Items]                            
Debt issuance costs                 2,700 3,400        
Face amount                 65,000 0        
Line of credit facility, commitment fee amount           $ 200,000                
Long-term debt                 $ 65,000 0        
APAG Revolver | Secured Overnight Financing Rate (SOFR)                            
Line of Credit Facility [Line Items]                            
Weighted average interest rate                 1.60%          
Construction Loan to Term Loan Facility                            
Line of Credit Facility [Line Items]                            
Commitment fee percentage                 0.50%          
Remaining borrowing capacity                   171,600        
Construction Loan to Term Loan Facility | Other term loans                            
Line of Credit Facility [Line Items]                            
Long-term debt                   15,900        
Construction Loan to Term Loan Facility | Construction Loans                            
Line of Credit Facility [Line Items]                            
Face amount                           $ 187,500
Long-term debt                   0        
Construction To Term Loan Facility                            
Line of Credit Facility [Line Items]                            
Loss on extinguishment of debt, net       100                    
Repayments of long-term lines of credit       $ 15,800                    
Project Level Term Loan                            
Line of Credit Facility [Line Items]                            
Line of credit outstanding                 $ 11,000 12,600        
Debt issuance costs                 1,800 2,100        
Project Level Term Loan | Stellar NJ 2 Acquisition                            
Line of Credit Facility [Line Items]                            
Line of credit outstanding                         $ 14,100  
Unamortized discount                         $ 2,200  
APACF II Facility                            
Line of Credit Facility [Line Items]                            
Maximum borrowing capacity                     $ 200,000      
Debt issuance costs                     $ 300      
APACF II Facility | Secured Overnight Financing Rate (SOFR)                            
Line of Credit Facility [Line Items]                            
Interest rate                     3.25%      
Blackstone Credit Facility | APAF Term Loan                            
Line of Credit Facility [Line Items]                            
Maximum borrowing capacity             $ 503,000              
Weighted average interest rate             3.51%              
Initial amortization rate             2.50%              
Debt instrument term             8 years              
Amortization step up rate             4.00%              
Blackstone Credit Facility | APAF III Term Loan                            
Line of Credit Facility [Line Items]                            
Initial amortization rate   3.25%                   2.50%    
Letter of Credit                            
Line of Credit Facility [Line Items]                            
Line of credit outstanding                 54,700 13,400        
Unused lines of Credit                            
Line of Credit Facility [Line Items]                            
Remaining borrowing capacity                 $ 54,400 $ 102,400