XML 94 R82.htm IDEA: XBRL DOCUMENT v3.24.0.1
Fair Value Measurements - Recurring (Details) - USD ($)
$ in Thousands
12 Months Ended
Dec. 31, 2023
Dec. 31, 2022
Jul. 31, 2019
Jan. 31, 2018
Fair Value Measurements        
Cash and cash equivalents $ 75,709 $ 35,793    
Marketable securities 33,747 120,475    
Derivative liabilities 102 52,050    
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 52,050 224,037    
Conversion of financial instruments (1,109) (25,656)    
(Gain) Loss on fair value adjustment of option   (43,745)    
(Gain) Loss on change in fair value of derivatives $ (50,839) $ (178,425)    
Fair Value, Liability, Recurring Basis, Unobservable Input Reconciliation, Gain (Loss), Statement of Income or Comprehensive Income [Extensible Enumeration] Fair Value, Net Derivative Asset (Liability) Measured on Recurring Basis, Change in Unrealized Gain (Loss) Fair Value, Net Derivative Asset (Liability) Measured on Recurring Basis, Change in Unrealized Gain (Loss)    
(Gain) Loss on extinguishment of option   $ 101    
Financial asset impairment cost, net   138    
Transfers into Level 3   81,417    
Transfers out of Level 3 $ 0 (5,817)    
Balance at the end of the period 102 52,050    
2023 Notes        
Fair Value Measurements        
Derivative liabilities       $ 17,300
2025 Notes        
Fair Value Measurements        
Derivative liabilities 100 7,900 $ 38,300  
Recurring | Embedded conversion option | 2023 Notes        
Fair Value Measurements        
Derivative liabilities   20    
Recurring | Embedded conversion option | PHC Notes        
Fair Value Measurements        
Derivative liabilities   44,191    
Recurring | Embedded conversion option | 2025 Notes        
Fair Value Measurements        
Derivative liabilities 102 7,859    
Recurring | Money market funds        
Fair Value Measurements        
Cash and cash equivalents 72,953 34,658    
Recurring | Corporate debt securities        
Fair Value Measurements        
Marketable securities 7,982 32,142    
Recurring | Commercial paper        
Fair Value Measurements        
Marketable securities 7,598 41,503    
Recurring | Asset backed Securities        
Fair Value Measurements        
Marketable securities   8,260    
Recurring | Government and agency securities        
Fair Value Measurements        
Marketable securities 18,167 38,570    
Recurring | Level 1 | Money market funds        
Fair Value Measurements        
Cash and cash equivalents 72,953 34,658    
Recurring | Level 1 | Government and agency securities        
Fair Value Measurements        
Marketable securities 18,167 31,627    
Recurring | Level 2 | Embedded conversion option | 2023 Notes        
Fair Value Measurements        
Derivative liabilities   20    
Recurring | Level 2 | Corporate debt securities        
Fair Value Measurements        
Marketable securities 7,982 32,142    
Recurring | Level 2 | Commercial paper        
Fair Value Measurements        
Marketable securities 7,598 41,503    
Recurring | Level 2 | Asset backed Securities        
Fair Value Measurements        
Marketable securities   8,260    
Recurring | Level 2 | Government and agency securities        
Fair Value Measurements        
Marketable securities   6,943    
Recurring | Level 3 | Embedded conversion option | PHC Notes        
Fair Value Measurements        
Derivative liabilities   44,191    
Recurring | Level 3 | Embedded conversion option | 2025 Notes        
Fair Value Measurements        
Derivative liabilities $ 102 $ 7,859