Quarterly report pursuant to Section 13 or 15(d)

VIE Arrangements - Carrying Amounts and Classification of the VIEs' Assets and Liabilities Included in the Consolidated Balance Sheets (Details)

v3.22.2
VIE Arrangements - Carrying Amounts and Classification of the VIEs' Assets and Liabilities Included in the Consolidated Balance Sheets (Details)
$ in Thousands
6 Months Ended
Jun. 30, 2022
USD ($)
investment_fund
fund
Dec. 31, 2021
USD ($)
Jun. 30, 2021
USD ($)
Dec. 31, 2020
USD ($)
Current assets:        
Cash $ 522,460 $ 617,634 $ 679,588 $ 519,965
Restricted cash 340,520 232,649    
Accounts receivable, net 216,824 146,037    
Inventories 547,419 506,819    
Prepaid expenses and other current assets 83,150 44,580    
Total current assets 1,710,373 1,547,719    
Solar energy systems, net 10,178,767 9,459,696    
Other assets 1,559,208 1,125,743    
Total assets [1] 17,800,602 16,483,252    
Current liabilities:        
Accounts payable 259,201 288,108    
Distributions payable to noncontrolling interests and redeemable noncontrolling interests 36,461 31,582    
Accrued expenses and other liabilities 347,696 364,136    
Deferred revenue, current portion 131,969 111,739    
Deferred grants, current portion 8,284 8,302    
Non-recourse debt, current portion 188,263 190,186    
Total current liabilities 990,998 1,012,120    
Deferred revenue, net of current portion 809,142 761,872    
Deferred grants, net of current portion 201,957 206,615    
Non-recourse debt, net of current portion 6,471,975 5,711,020    
Other liabilities 145,769 190,056    
Total liabilities [1] $ 9,987,961 8,910,665    
Number of types of investment funds used by the company | investment_fund 3      
Variable Interest Entities        
Current assets:        
Cash $ 317,047 377,044    
Restricted cash 82,697 70,346    
Accounts receivable, net 83,747 55,714    
Inventories 89,096 93,604    
Prepaid expenses and other current assets 4,387 1,519    
Total current assets 576,974 598,227    
Solar energy systems, net 8,207,342 7,605,769    
Other assets 228,310 177,224    
Total assets 9,012,626 8,381,220    
Current liabilities:        
Accounts payable 22,375 26,042    
Distributions payable to noncontrolling interests and redeemable noncontrolling interests 36,462 31,582    
Accrued expenses and other liabilities 28,715 31,036    
Deferred revenue, current portion 44,364 45,956    
Deferred grants, current portion 0 997    
Non-recourse debt, current portion 33,834 41,284    
Total current liabilities 165,750 176,897    
Deferred revenue, net of current portion 511,999 484,429    
Deferred grants, net of current portion 0 24,637    
Non-recourse debt, net of current portion 1,419,073 1,441,324    
Other liabilities 13,877 25,205    
Total liabilities $ 2,110,699 $ 2,152,492    
Number of types of investment funds used by the company | fund 6      
[1] The Company’s consolidated assets as of June 30, 2022 and December 31, 2021 include $9,012,626 and $8,381,220, respectively, in assets of variable interest entities (“VIEs”) that can only be used to settle obligations of the VIEs. These assets include solar energy systems, net, as of June 30, 2022 and December 31, 2021 of $8,207,342 and $7,605,769, respectively; cash as of June 30, 2022 and December 31, 2021 of $317,047 and $377,044, respectively; restricted cash as of June 30, 2022 and December 31, 2021 of $82,697 and $70,346, respectively; accounts receivable, net as of June 30, 2022 and December 31, 2021 of $83,747 and $55,714, respectively; inventories as of June 30, 2022 and December 31, 2021 of $89,096 and 93,604, respectively; prepaid expenses and other current assets as of June 30, 2022 and December 31, 2021 of $4,387 and $1,519, respectively; and other assets as of June 30, 2022 and December 31, 2021 of $228,310 and $177,224, respectively. The Company’s consolidated liabilities as of June 30, 2022 and December 31, 2021 include $2,110,699 and $2,152,492, respectively, in liabilities of VIEs whose creditors have no recourse to the Company. These liabilities include accounts payable as of June 30, 2022 and December 31, 2021 of $22,375 and $26,042, respectively; distributions payable to noncontrolling interests and redeemable noncontrolling interests as of June 30, 2022 and December 31, 2021 of $36,462 and $31,582, respectively; accrued expenses and other current liabilities as of June 30, 2022 and December 31, 2021 of $28,715 and $31,036, respectively; deferred revenue as of June 30, 2022 and December 31, 2021 of $556,363 and $530,385, respectively; deferred grants as of June 30, 2022 and December 31, 2021 of $0 and $25,634, respectively; non-recourse debt as of June 30, 2022 and December 31, 2021 of $1,452,907 and $1,482,608, respectively; and other liabilities as of June 30, 2022 and December 31, 2021 of $13,877 and $25,205, respectively.