Quarterly report pursuant to Section 13 or 15(d)

Variable Interest Entities And Equity Method Investments - Schedule of Variable Interest Entity Financial Information (Details)

v3.23.2
Variable Interest Entities And Equity Method Investments - Schedule of Variable Interest Entity Financial Information (Details) - USD ($)
$ in Thousands
Jun. 30, 2023
Dec. 31, 2022
Jun. 30, 2022
Dec. 31, 2021
Current assets:        
Cash and cash equivalents [1] $ 48,999 $ 115,534    
Restricted cash [1] 39,137 20,782    
Accounts receivable, net 123,361 [1] 174,009 [1] $ 207,990 $ 161,970
Costs and estimated earnings in excess of billings 575,113 [1] 576,363 [1] $ 663,798 $ 306,172
Prepaid expenses and other current assets [1] 58,874 38,617    
Total current assets [1] 921,867 1,001,351    
Property and equipment, net [1] 16,888 15,707    
Energy assets, net [1] 1,417,690 1,181,525    
Operating lease assets [1] 38,833 38,224    
Restricted cash, non-current portion [1] 13,677 13,572    
Other assets [1] 43,223 38,564    
Total assets [1] 3,041,010 2,876,821    
Current liabilities:        
Current portions of long-term debt and financing lease liabilities [1] 332,999 331,479    
Accounts payable [1] 290,284 349,126    
Accrued expenses and other current liabilities [1] 81,008 89,166    
Current portions of operating lease liabilities [1] 5,935 5,829    
Total current liabilities [1] 752,249 812,068    
Long-term debt and financing lease liabilities, net of current portion, unamortized discount and debt issuance costs [1] 784,266 568,635    
Long-term operating lease liabilities, net of current portion [1] 32,487 31,703    
Other liabilities [1] 70,175 49,493    
Variable Interest Entity, Primary Beneficiary        
Current assets:        
Cash and cash equivalents 7,472 10,107    
Restricted cash 0 799    
Accounts receivable, net 0 590    
Costs and estimated earnings in excess of billings 22,595 952    
Prepaid expenses and other current assets 2,374 14,322    
Total current assets 32,441 26,770    
Property and equipment, net 379 89    
Energy assets, net 236,759 182,050    
Operating lease assets 5,851 4,901    
Restricted cash, non-current portion 73 73    
Other assets 86 30    
Total assets 275,589 213,913    
Current liabilities:        
Current portions of long-term debt and financing lease liabilities 2,185 2,087    
Accounts payable 19,493 8,055    
Accrued expenses and other current liabilities 4,012 12,559    
Current portions of operating lease liabilities 215 117    
Total current liabilities 25,905 22,818    
Long-term debt and financing lease liabilities, net of current portion, unamortized discount and debt issuance costs 120,989 19,177    
Long-term operating lease liabilities, net of current portion 6,085 5,159    
Other liabilities 736 3,575    
Total VIE liabilities $ 153,715 $ 50,729    
[1] Includes restricted assets of consolidated variable interest entities (“VIEs”) at June 30, 2023 and December 31, 2022 of $275,589 and $213,913, respectively. Includes non-recourse liabilities of consolidated VIEs at June 30, 2023 and December 31, 2022 of $153,715 and $50,729, respectively. See Note 13.