Quarterly report pursuant to Section 13 or 15(d)

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

v3.19.3
Summary of Significant Accounting Policies - Schedule of Revenues from External Customers (Details) - USD ($)
$ in Thousands
3 Months Ended 9 Months Ended
Sep. 30, 2019
Sep. 30, 2018
Sep. 30, 2019
Sep. 30, 2018
Revenue, Major Customer [Line Items]        
Total revenue $ 215,542 $ 204,960 $ 614,641 $ 519,861
Customer agreements and incentives        
Revenue, Major Customer [Line Items]        
Customer agreements and incentives 96,249 114,572 288,538 273,167
Customer agreements        
Revenue, Major Customer [Line Items]        
Customer agreements and incentives 89,241 70,864 253,046 199,171
Incentives        
Revenue, Major Customer [Line Items]        
Customer agreements and incentives 7,008 43,708 35,492 73,996
Solar energy systems and product sales        
Revenue, Major Customer [Line Items]        
Total revenue 119,293 90,388 326,103 246,694
Solar energy systems        
Revenue, Major Customer [Line Items]        
Total revenue 67,230 47,771 192,235 122,503
Products        
Revenue, Major Customer [Line Items]        
Total revenue $ 52,063 $ 42,617 $ 133,868 $ 124,191