Quarterly report pursuant to Section 13 or 15(d)

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

v3.22.1
Summary of Significant Accounting Policies - Schedule of Revenues from External Customers (Details) - USD ($)
$ in Thousands
3 Months Ended
Mar. 31, 2022
Mar. 31, 2021
Revenue, Major Customer [Line Items]    
Total revenue $ 495,784 $ 334,794
Customer agreements and incentives    
Revenue, Major Customer [Line Items]    
Total revenue 209,692 174,596
Customer agreements    
Revenue, Major Customer [Line Items]    
Total revenue 190,502 157,830
Incentives    
Revenue, Major Customer [Line Items]    
Total revenue 19,190 16,766
Solar energy systems and product sales    
Revenue, Major Customer [Line Items]    
Total revenue 286,092 160,198
Solar energy systems    
Revenue, Major Customer [Line Items]    
Total revenue 199,999 89,050
Products    
Revenue, Major Customer [Line Items]    
Total revenue $ 86,093 $ 71,148