XML 62 R52.htm IDEA: XBRL DOCUMENT v3.21.2
Fair Value Measurements - Recurring (Details) - USD ($)
$ in Thousands
9 Months Ended
Sep. 30, 2021
Dec. 31, 2020
Nov. 09, 2020
Fair Value Measurements      
Cash and cash equivalents $ 46,211 $ 18,005  
Marketable securities 154,921    
Derivative assets 236 1,886  
Derivative liabilities 317,304 62,119  
Energy Capital Facility      
Fair Value Measurements      
Derivative liabilities 91,100   $ 4,200
Recurring | Embedded conversion option | 2023 Notes      
Fair Value Measurements      
Derivative liabilities 9,492 622  
Recurring | Embedded conversion option | 2025 Notes      
Fair Value Measurements      
Derivative liabilities 112,085 15,850  
Recurring | Embedded conversion option | PHC Notes      
Fair Value Measurements      
Derivative liabilities 195,727 45,647  
Recurring | Call Option | Masters Capital      
Fair Value Measurements      
Derivative liabilities   23,479  
Recurring | Money market funds      
Fair Value Measurements      
Cash and cash equivalents 43,818 3  
Recurring | Corporate debt securities      
Fair Value Measurements      
Marketable securities 40,085    
Recurring | Commercial paper      
Fair Value Measurements      
Marketable securities 62,336    
Recurring | Government and agency securities      
Fair Value Measurements      
Marketable securities 20,050    
Recurring | PHC Option      
Fair Value Measurements      
Derivative assets 236 1,886  
Recurring | Put Or Call Option | Energy Capital Facility      
Fair Value Measurements      
Derivative liabilities 91,097 16,255  
Recurring | Level 1 | Money market funds      
Fair Value Measurements      
Cash and cash equivalents 43,818 3  
Recurring | Level 1 | Government and agency securities      
Fair Value Measurements      
Marketable securities 20,050    
Recurring | Level 2 | Embedded conversion option | 2025 Notes      
Fair Value Measurements      
Derivative liabilities 112,085 15,850  
Recurring | Level 2 | Corporate debt securities      
Fair Value Measurements      
Marketable securities 40,085    
Recurring | Level 2 | Commercial paper      
Fair Value Measurements      
Marketable securities 62,336    
Recurring | Level 3      
Reconciliation of items measured at fair value on a recurring basis that used significant unobservable inputs (Level 3)      
Balance at the beginning of the period 84,117    
Conversion of financial instruments (19,973)    
Loss on fair value adjustment of option 74,848    
Loss on change in fair value of derivatives 158,951    
Gain on extinguishment of option (3,513)    
Financial asset impairment cost 1,650    
Balance at the end of the period 296,080    
Recurring | Level 3 | Embedded conversion option | 2023 Notes      
Fair Value Measurements      
Derivative liabilities 9,492 622  
Recurring | Level 3 | Embedded conversion option | PHC Notes      
Fair Value Measurements      
Derivative liabilities 195,727 45,647  
Recurring | Level 3 | Call Option | Masters Capital      
Fair Value Measurements      
Derivative liabilities   23,479  
Recurring | Level 3 | PHC Option      
Fair Value Measurements      
Derivative assets 236 1,886  
Recurring | Level 3 | Put Or Call Option | Energy Capital Facility      
Fair Value Measurements      
Derivative liabilities $ 91,097 $ 16,255