Quarterly report pursuant to Section 13 or 15(d)

Revenue from Contracts with Customers - Disaggregation of Revenue (Details)

v3.8.0.1
Revenue from Contracts with Customers - Disaggregation of Revenue (Details)
$ in Thousands
3 Months Ended
Mar. 31, 2018
USD ($)
Disaggregation of Revenue [Line Items]  
Total revenues $ 167,410
United States  
Disaggregation of Revenue [Line Items]  
Total revenues 157,461
Canada  
Disaggregation of Revenue [Line Items]  
Total revenues 8,439
Other  
Disaggregation of Revenue [Line Items]  
Total revenues 1,510
Project revenue  
Disaggregation of Revenue [Line Items]  
Total revenues 111,683
O&M revenue  
Disaggregation of Revenue [Line Items]  
Total revenues 15,088
Energy assets  
Disaggregation of Revenue [Line Items]  
Total revenues 21,494
Other  
Disaggregation of Revenue [Line Items]  
Total revenues 19,145
U.S. Regions  
Disaggregation of Revenue [Line Items]  
Total revenues 74,691
U.S. Regions | United States  
Disaggregation of Revenue [Line Items]  
Total revenues 74,691
U.S. Regions | Canada  
Disaggregation of Revenue [Line Items]  
Total revenues 0
U.S. Regions | Other  
Disaggregation of Revenue [Line Items]  
Total revenues 0
U.S. Regions | Project revenue  
Disaggregation of Revenue [Line Items]  
Total revenues 65,440
U.S. Regions | O&M revenue  
Disaggregation of Revenue [Line Items]  
Total revenues 3,895
U.S. Regions | Energy assets  
Disaggregation of Revenue [Line Items]  
Total revenues 4,981
U.S. Regions | Other  
Disaggregation of Revenue [Line Items]  
Total revenues 375
U.S. Federal  
Disaggregation of Revenue [Line Items]  
Total revenues 47,785
U.S. Federal | United States  
Disaggregation of Revenue [Line Items]  
Total revenues 47,785
U.S. Federal | Canada  
Disaggregation of Revenue [Line Items]  
Total revenues 0
U.S. Federal | Other  
Disaggregation of Revenue [Line Items]  
Total revenues 0
U.S. Federal | Project revenue  
Disaggregation of Revenue [Line Items]  
Total revenues 37,838
U.S. Federal | O&M revenue  
Disaggregation of Revenue [Line Items]  
Total revenues 9,178
U.S. Federal | Energy assets  
Disaggregation of Revenue [Line Items]  
Total revenues 769
U.S. Federal | Other  
Disaggregation of Revenue [Line Items]  
Total revenues 0
Canada  
Disaggregation of Revenue [Line Items]  
Total revenues 8,904
Canada | United States  
Disaggregation of Revenue [Line Items]  
Total revenues 520
Canada | Canada  
Disaggregation of Revenue [Line Items]  
Total revenues 8,384
Canada | Other  
Disaggregation of Revenue [Line Items]  
Total revenues 0
Canada | Project revenue  
Disaggregation of Revenue [Line Items]  
Total revenues 6,936
Canada | O&M revenue  
Disaggregation of Revenue [Line Items]  
Total revenues 19
Canada | Energy assets  
Disaggregation of Revenue [Line Items]  
Total revenues 366
Canada | Other  
Disaggregation of Revenue [Line Items]  
Total revenues 1,583
Non-Solar DG  
Disaggregation of Revenue [Line Items]  
Total revenues 18,117
Non-Solar DG | United States  
Disaggregation of Revenue [Line Items]  
Total revenues 18,117
Non-Solar DG | Canada  
Disaggregation of Revenue [Line Items]  
Total revenues 0
Non-Solar DG | Other  
Disaggregation of Revenue [Line Items]  
Total revenues 0
Non-Solar DG | Project revenue  
Disaggregation of Revenue [Line Items]  
Total revenues 899
Non-Solar DG | O&M revenue  
Disaggregation of Revenue [Line Items]  
Total revenues 1,996
Non-Solar DG | Energy assets  
Disaggregation of Revenue [Line Items]  
Total revenues 15,114
Non-Solar DG | Other  
Disaggregation of Revenue [Line Items]  
Total revenues 108
Other  
Disaggregation of Revenue [Line Items]  
Total revenues 17,913
Other | United States  
Disaggregation of Revenue [Line Items]  
Total revenues 16,348
Other | Canada  
Disaggregation of Revenue [Line Items]  
Total revenues 55
Other | Other  
Disaggregation of Revenue [Line Items]  
Total revenues 1,510
Other | Project revenue  
Disaggregation of Revenue [Line Items]  
Total revenues 570
Other | O&M revenue  
Disaggregation of Revenue [Line Items]  
Total revenues 0
Other | Energy assets  
Disaggregation of Revenue [Line Items]  
Total revenues 264
Other | Other  
Disaggregation of Revenue [Line Items]  
Total revenues $ 17,079