Quarterly report pursuant to Section 13 or 15(d)

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

v3.21.2
Summary of Significant Accounting Policies - Schedule of Revenues from External Customers (Details) - USD ($)
$ in Thousands
3 Months Ended 6 Months Ended
Jun. 30, 2021
Jun. 30, 2020
Jun. 30, 2021
Jun. 30, 2020
Revenue, Major Customer [Line Items]        
Total revenue $ 401,166 $ 181,294 $ 735,960 $ 392,025
Customer agreements and incentives        
Revenue, Major Customer [Line Items]        
Total revenue 219,474 106,095 394,070 205,219
Customer agreements        
Revenue, Major Customer [Line Items]        
Total revenue 196,935 98,525 354,765 192,778
Incentives        
Revenue, Major Customer [Line Items]        
Total revenue 22,539 7,570 39,305 12,441
Solar energy systems and product sales        
Revenue, Major Customer [Line Items]        
Total revenue 181,692 75,199 341,890 186,806
Solar energy systems        
Revenue, Major Customer [Line Items]        
Total revenue 90,422 44,579 179,472 115,856
Products        
Revenue, Major Customer [Line Items]        
Total revenue $ 91,270 $ 30,620 $ 162,418 $ 70,950