XML 78 R65.htm IDEA: XBRL DOCUMENT v3.24.0.1
Long-term Debt - Additional Information (Details)
$ / shares in Units, $ in Thousands
1 Months Ended 12 Months Ended
Dec. 11, 2019
Jun. 30, 2022
USD ($)
Nov. 30, 2021
USD ($)
Dec. 31, 2019
USD ($)
Days
$ / shares
Dec. 31, 2023
USD ($)
Days
Dec. 31, 2022
USD ($)
Dec. 31, 2021
USD ($)
Jan. 01, 2021
USD ($)
Debt Instrument [Line Items]                
Debt instrument, threshold trading days | Days         5      
Number of business day | Days         5      
Long-term debt         $ 281,855 $ 280,244    
Additional paid in capital         (463,900) (403,599)    
Accumulated deficit         430,151 386,785    
Induced conversion expense related to convertible notes           2,232 $ 11,333  
ASU 2020-06 | Change in Accounting Method Accounted for as Change in Estimate | Revision of Prior Period, Accounting Standards Update, Adjustment                
Debt Instrument [Line Items]                
Long-term debt               $ 29,300
Additional paid in capital               32,700
Accumulated deficit               $ 3,400
2021 Convertible Promissory Notes due 2027                
Debt Instrument [Line Items]                
Aggregate principal amount     $ 287,500          
Debt instrument, maturity date     May 15, 2027          
2021 Convertible Promissory Notes due 2027 | Level 2                
Debt Instrument [Line Items]                
Estimated fair value         314,000 347,400    
2019 Convertible Senior Notes due 2026                
Debt Instrument [Line Items]                
Aggregate principal amount       $ 86,300        
Repurchase of debt principal amount   $ 9,900 $ 76,400          
Debt instrument, borrowing interest rate percentage       9.90%        
Fair value of liability component upon issuance       $ 52,500        
Initial carrying amount of liability component recognized as debt discount       33,800        
Proceeds from convertible debt       86,300        
Adjustments recorded in additional paid-in capital       33,800        
Total issuance costs       2,800        
Liability issuance costs       1,700        
Equity issuance costs       $ 1,100        
Cap price of the capped call transactions | $ / shares       $ 54.2        
Capped call transactions expiration consecutive days | Days       40        
Capped call transaction expiring date Dec. 11, 2026              
Payment of 2019 Notes   17,600 183,600          
Induced conversion expense related to convertible notes   2,200 11,300          
Unamortized debt issuance costs   200 1,800          
2019 Convertible Senior Notes due 2026 | 2019 Note Repurchase                
Debt Instrument [Line Items]                
Payment of 2019 Notes   17,600 183,600          
Repurchase of debt principal amount   $ 9,900 $ 76,400          
2021 Convertible Senior Notes due 2027                
Debt Instrument [Line Items]                
Debt instrument, maturity date     May 15, 2027          
Net proceeds from issuing notes     $ 278,400          
Total issuance costs     $ 9,100          
Accrued interest         400 400    
Unamortized debt issuance costs         $ 5,645 $ 7,256    
Convertible Senior Notes                
Debt Instrument [Line Items]                
Debt instrument, threshold consecutive trading days | Days         30      
Debt instrument, threshold percentage of stock price trigger         130.00%      
Debt instrument, terms of conversion feature         Regardless of the foregoing circumstances, holders may convert all or any portion of the 2021 Notes, in increments of $1,000 principal amount, on or after February 15, 2027, until the close of business on the second scheduled trading day immediately preceding the maturity date.      
Percentage of repurchase price of principal amount         100.00%      
Convertible Senior Notes | Minimum                
Debt Instrument [Line Items]                
Debt instrument, threshold trading days | Days         20      
Convertible Senior Notes | Maximum                
Debt Instrument [Line Items]                
Debt instrument, threshold percentage of stock price trigger         98.00%