Quarterly report pursuant to Section 13 or 15(d)

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

v3.20.1
Summary of Significant Accounting Policies - Schedule of Revenues from External Customers (Details) - USD ($)
$ in Thousands
3 Months Ended
Mar. 31, 2020
Mar. 31, 2019
Revenue, Major Customer [Line Items]    
Total revenue $ 210,731 $ 194,504
Customer agreements and incentives    
Revenue, Major Customer [Line Items]    
Customer agreements and incentives 99,124 99,850
Customer agreements    
Revenue, Major Customer [Line Items]    
Customer agreements and incentives 94,253 78,528
Incentives    
Revenue, Major Customer [Line Items]    
Customer agreements and incentives 4,871 21,322
Solar energy systems and product sales    
Revenue, Major Customer [Line Items]    
Total revenue 111,607 94,654
Solar energy systems    
Revenue, Major Customer [Line Items]    
Total revenue 71,277 58,436
Products    
Revenue, Major Customer [Line Items]    
Total revenue $ 40,330 $ 36,218