Commitments and Contingencies - Additional Information (Details) - USD ($) $ in Millions |
1 Months Ended | 12 Months Ended | |||
|---|---|---|---|---|---|
Oct. 31, 2015 |
Jan. 31, 2015 |
Dec. 31, 2016 |
Dec. 31, 2015 |
Dec. 31, 2014 |
|
| Other Commitments [Line Items] | |||||
| Letters of credit outstanding, amount | $ 6.2 | $ 3.5 | |||
| Capital Lease Obligations | $ 23.0 | 24.0 | |||
| Photovoltaic Modules | |||||
| Other Commitments [Line Items] | |||||
| Purchase commitment with suppliers | $ 146.0 | $ 70.0 | |||
| Long-term purchase commitment, period | 12 months | ||||
| Long term purchase commitment ending period | 2016-12 | ||||
| Long term purchase commitment period option to extend | Mar. 31, 2017 | ||||
| Maximum | Capital Lease Obligations | |||||
| Other Commitments [Line Items] | |||||
| Lease obligation interest rates | 10.00% | ||||
| Non Cancellable Operating Leases Arrangements | |||||
| Other Commitments [Line Items] | |||||
| Operating lease expenses | $ 12.4 | 7.0 | $ 4.0 | ||
| Deferred rent liabilities | $ 2.9 | $ 1.9 | |||
| Letter of Credit | |||||
| Other Commitments [Line Items] | |||||
| Letter of credit, fee percentage | 2.75% | ||||