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 9 Months Ended
Sep. 30, 2021
Sep. 30, 2020
Sep. 30, 2021
Sep. 30, 2020
Revenue, Major Customer [Line Items]        
Total revenue $ 438,765 $ 209,760 $ 1,174,725 $ 601,785
Customer agreements and incentives        
Revenue, Major Customer [Line Items]        
Total revenue 231,869 114,485 625,939 319,704
Customer agreements        
Revenue, Major Customer [Line Items]        
Total revenue 194,924 102,213 549,689 294,991
Incentives        
Revenue, Major Customer [Line Items]        
Total revenue 36,945 12,272 76,250 24,713
Solar energy systems and product sales        
Revenue, Major Customer [Line Items]        
Total revenue 206,896 95,275 548,786 282,081
Solar energy systems        
Revenue, Major Customer [Line Items]        
Total revenue 127,936 52,238 307,408 168,094
Products        
Revenue, Major Customer [Line Items]        
Total revenue $ 78,960 $ 43,037 $ 241,378 $ 113,987