Annual report pursuant to Section 13 and 15(d)

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

v3.22.0.1
Variable Interest Entities and Equity Method Investments - Schedule of Variable Interest Entity Financial Information (Details) - USD ($)
$ in Thousands
Dec. 31, 2021
Dec. 31, 2020
Variable Interest Entity [Line Items]    
Current assets [1] $ 638,585 $ 490,715
Total assets [1] 2,224,821 1,754,115
Current liabilities [1] 474,224 383,097
Variable Interest Entity    
Variable Interest Entity [Line Items]    
Current assets 7,965 10,935
Total assets 124,454 162,198
Current liabilities 3,042 3,758
Total VIE liabilities 31,125 33,335
Cash and cash equivalents | Variable Interest Entity    
Variable Interest Entity [Line Items]    
Current assets 4,915 5,828
Restricted cash | Variable Interest Entity    
Variable Interest Entity [Line Items]    
Current assets 822 3,185
Accounts receivable, net | Variable Interest Entity    
Variable Interest Entity [Line Items]    
Current assets 656 834
Costs and estimated earnings in excess of billings | Variable Interest Entity    
Variable Interest Entity [Line Items]    
Current assets 1,421 968
Prepaid expenses and other current assets | Variable Interest Entity    
Variable Interest Entity [Line Items]    
Current assets 151 120
Property and equipment, net | Variable Interest Entity    
Variable Interest Entity [Line Items]    
Noncurrent assets 1,266 1,266
Energy assets, net | Variable Interest Entity    
Variable Interest Entity [Line Items]    
Noncurrent assets 108,498 143,133
Operating lease assets | Variable Interest Entity    
Variable Interest Entity [Line Items]    
Noncurrent assets 6,271 6,439
Restricted cash, non-current portion | Variable Interest Entity    
Variable Interest Entity [Line Items]    
Noncurrent assets 418 331
Other assets | Variable Interest Entity    
Variable Interest Entity [Line Items]    
Noncurrent assets 36 94
Current portions of long-term debt and financing lease liabilities | Variable Interest Entity    
Variable Interest Entity [Line Items]    
Current liabilities 2,210 2,230
Accounts payable | Variable Interest Entity    
Variable Interest Entity [Line Items]    
Current liabilities 47 311
Accrued expenses and other current liabilities | Variable Interest Entity    
Variable Interest Entity [Line Items]    
Current liabilities 643 1,092
Current portions of operating lease liabilities | Variable Interest Entity    
Variable Interest Entity [Line Items]    
Current liabilities 142 125
Long-term debt and financing lease liabilities, net of current portion, unamortized discount and debt issuance costs | Variable Interest Entity    
Variable Interest Entity [Line Items]    
Noncurrent liabilities 20,952 22,822
Long-term operating lease liabilities, net of current portion | Variable Interest Entity    
Variable Interest Entity [Line Items]    
Noncurrent liabilities 6,558 6,220
Other liabilities | Variable Interest Entity    
Variable Interest Entity [Line Items]    
Noncurrent liabilities $ 573 $ 535
[1] Includes restricted assets of consolidated variable interest entities (“VIEs”) of $124,454 as of December 31, 2021 and $162,198 as of December 31, 2020. Includes non-recourse liabilities of consolidated VIEs of $31,125 as of December 31, 2021 and $33,335 as of December 31, 2020. See Note 11.