Quarterly report pursuant to Section 13 or 15(d)

Summary of Significant Accounting Policies - Schedule of Revenues from External Customers (Details)

v3.22.2
Summary of Significant Accounting Policies - Schedule of Revenues from External Customers (Details) - USD ($)
$ in Thousands
3 Months Ended 6 Months Ended
Jun. 30, 2022
Jun. 30, 2021
Jun. 30, 2022
Jun. 30, 2021
Revenue, Major Customer [Line Items]        
Total revenue $ 584,580 $ 401,166 $ 1,080,364 $ 735,960
Customer agreements and incentives        
Revenue, Major Customer [Line Items]        
Total revenue 259,886 219,474 469,578 394,070
Customer agreements        
Revenue, Major Customer [Line Items]        
Total revenue 232,003 196,935 422,505 354,765
Incentives        
Revenue, Major Customer [Line Items]        
Total revenue 27,883 22,539 47,073 39,305
Solar energy systems and product sales        
Revenue, Major Customer [Line Items]        
Total revenue 324,694 181,692 610,786 341,890
Solar energy systems        
Revenue, Major Customer [Line Items]        
Total revenue 209,314 90,422 409,313 179,472
Products        
Revenue, Major Customer [Line Items]        
Total revenue $ 115,380 $ 91,270 $ 201,473 $ 162,418