Quarterly report pursuant to Section 13 or 15(d)

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

v3.20.2
Summary of Significant Accounting Policies - Schedule of Revenues from External Customers (Details) - USD ($)
$ in Thousands
3 Months Ended 6 Months Ended
Jun. 30, 2020
Jun. 30, 2019
Jun. 30, 2020
Jun. 30, 2019
Revenue, Major Customer [Line Items]        
Total revenue $ 181,294 $ 204,595 $ 392,025 $ 399,099
Customer agreements and incentives        
Revenue, Major Customer [Line Items]        
Customer agreements and incentives 106,095 92,439 205,219 192,289
Customer agreements        
Revenue, Major Customer [Line Items]        
Customer agreements and incentives 98,525 85,277 192,778 163,805
Incentives        
Revenue, Major Customer [Line Items]        
Customer agreements and incentives 7,570 7,162 12,441 28,484
Solar energy systems and product sales        
Revenue, Major Customer [Line Items]        
Total revenue 75,199 112,156 186,806 206,810
Solar energy systems        
Revenue, Major Customer [Line Items]        
Total revenue 44,579 66,569 115,856 125,005
Products        
Revenue, Major Customer [Line Items]        
Total revenue $ 30,620 $ 45,587 $ 70,950 $ 81,805