XML 71 R57.htm IDEA: XBRL DOCUMENT v3.22.0.1
Long-term Debt - Convertible Senior Notes - Additional Information (Details)
1 Months Ended 12 Months Ended
Dec. 11, 2019
$ / shares
Nov. 30, 2021
USD ($)
Dec. 31, 2019
USD ($)
d
$ / shares
Dec. 31, 2021
USD ($)
d
Dec. 31, 2019
USD ($)
Jan. 01, 2021
USD ($)
Dec. 31, 2020
USD ($)
Debt Instrument [Line Items]              
Debt instrument, threshold trading days | d       5      
Number of business day | d       5      
Adjustments recorded in additional paid-in capital         $ 32,743,000    
Long-term debt       $ 278,661,000     $ 54,556,000
Additional paid in capital       (351,422,000)     (423,759,000)
Accumulated deficit       362,484,000     314,666,000
Payment for capped call transactions     $ 10,100,000   10,126,000    
Payment of 2019 Notes         28,192,000    
Induced conversion expense related to convertible notes       11,333,000      
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,000  
Additional paid in capital           32,700,000  
Accumulated deficit           $ 3,400,000  
2019 Convertible Senior Notes due 2026              
Debt Instrument [Line Items]              
Aggregate principal amount     $ 86,300,000   $ 86,300,000    
Debt instrument, maturity date     Dec. 15, 2026        
Net proceeds from issuing notes     $ 83,500,000        
Debt instrument, borrowing interest rate percentage     9.90%   9.90%    
Fair value of liability component upon issuance     $ 52,500,000   $ 52,500,000    
Initial carrying amount of liability component recognized as debt discount     33,800,000   $ 33,800,000    
Proceeds from convertible debt     86,300,000        
Adjustments recorded in additional paid-in capital     33,800,000        
Total issuance costs     2,800,000        
Liability issuance costs     1,700,000        
Equity issuance costs     $ 1,100,000        
Cap price of the capped call transactions | $ / shares     $ 54.20        
Premium percentage on sale price of common stock 100.00%            
Common stock sale price per share last reported | $ / shares $ 27.10            
Capped call transactions expiration consecutive days | d     40        
Capped call transaction expiring date Dec. 11, 2026            
2019 Convertible Senior Notes due 2026 | Level 2              
Debt Instrument [Line Items]              
Estimated fair value       26,200,000     $ 118,700,000
2019 Convertible Senior Notes due 2026 | 2019 Note Repurchase              
Debt Instrument [Line Items]              
Payment of 2019 Notes   $ 183,600,000          
Repurchase of debt principal amount   76,400,000          
Payment of 2019 Notes   183,600,000          
Induced conversion expense related to convertible notes   11,300,000          
Unamortized debt issuance costs   1,800,000          
2021 Convertible Senior Notes due 2027              
Debt Instrument [Line Items]              
Aggregate principal amount   $ 287,500,000          
Debt instrument, maturity date   May 15, 2027          
Net proceeds from issuing notes   $ 278,400,000          
Total issuance costs   $ 9,100,000          
Accrued interest       494,000      
2021 Convertible Senior Notes due 2027 | Level 2              
Debt Instrument [Line Items]              
Estimated fair value       $ 314,300,000      
Convertible Senior Notes              
Debt Instrument [Line Items]              
Debt instrument, threshold consecutive trading days | d       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 Notes, in increments of $1,000 principal amount, on or after September 15, 2026 (2019 Notes) and on or after February 15, 2027 (2021 Notes), 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 | d       20      
Convertible Senior Notes | Maximum              
Debt Instrument [Line Items]              
Debt instrument, threshold percentage of stock price trigger       98.00%