XML 87 R41.htm IDEA: XBRL DOCUMENT v3.19.3
Fair Value - Additional Information (Details) - USD ($)
3 Months Ended 9 Months Ended
Sep. 30, 2019
Sep. 30, 2018
Sep. 30, 2019
Sep. 30, 2018
Jun. 30, 2019
Dec. 31, 2018
Jun. 30, 2017
Sep. 30, 2016
Sep. 10, 2016
Jan. 29, 2016
Dec. 15, 2015
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items]                      
Cost of revenue $ 180,006,000 $ 166,805,000 $ 557,067,000 $ 428,610,000              
Equity-method investments 5,834,000   5,834,000     $ 6,046,000          
Not designated as hedging instrument | Natural gas forward contract                      
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items]                      
Gain (loss) on derivative (800,000) 1,100,000 (1,500,000) 1,100,000              
Gain on the settlement of contracts $ 1,100,000 $ 600,000 $ 2,700,000 $ 2,900,000              
Convertible promissory notes | Convertible Promissory Notes due December 2020, Recourse                      
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items]                      
Debt face amount                 $ 75,000,000 $ 25,000,000 $ 160,000,000
Convertible stock price (in dollars per share) $ 11.25   $ 11.25           $ 20.61   $ 11.25
Embedded derivative liability $ 177,200,000   $ 177,200,000           $ 177,200,000    
Affiliated entity | Convertible promissory notes | Convertible Promissory Notes due December 2020, Recourse                      
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items]                      
Debt face amount             $ 260,000,000 $ 260,000,000.0      
Interest rate percentage             6.00% 5.00%      
Energy Servers, Change In Useful Lives                      
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items]                      
Cost of revenue 14,600,000   22,700,000                
Write Off Of Energy Servers                      
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items]                      
Cost of revenue 0                    
Diamond State Generation Partners, LLC                      
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items]                      
Equity-method investments $ 27,235,000   $ 27,235,000   $ 27,766,000 $ 0