XML 66 R41.htm IDEA: XBRL DOCUMENT v3.19.2
Fair Value - Additional Information (Details) - USD ($)
3 Months Ended 6 Months Ended
Jun. 30, 2019
Jun. 30, 2018
Jun. 30, 2019
Jun. 30, 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 $ 192,109,000 $ 136,110,000 $ 377,061,000 $ 261,805,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 (1,100,000) 800,000 (700,000) (100,000)          
Gain on the settlement of contracts $ 1,100,000 $ 1,200,000 $ 1,600,000 $ 2,300,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
Interest rate percentage 6.00%   6.00%            
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      
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 8,100,000                
Diamond State Generation Partners, LLC                  
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items]                  
Equity method investments, fair value $ 27,800,000   $ 27,800,000