XML 73 R57.htm IDEA: XBRL DOCUMENT v3.22.1
Convertible Senior Notes - Convertible Senior Notes (Details)
$ / shares in Units, $ in Thousands
3 Months Ended
Feb. 13, 2020
USD ($)
D
$ / shares
Mar. 31, 2022
USD ($)
D
Dec. 31, 2021
USD ($)
Debt      
Convertible senior notes | $   $ 140,189 $ 139,966
Accumulated deficit | $   (269,411) (256,342)
Additional paid-in capital | $   513,312 $ 502,095
Convertible senior notes      
Debt      
Interest rate (as a percent) 2.625%    
Aggregate principal amount | $ $ 143,750    
Initial conversion rate 34.2618    
Initial conversion price | $ / shares $ 29.19    
Conversion, threshold percentage of stock price trigger 130.00%    
Conversion, threshold trading days | D 20    
Conversion, threshold consecutive trading days | D 30    
Consecutive business days | D 5    
Measurement period | D 10    
Threshold percentage to product of sale price of common stock and conversion rate 98.00%    
Default period 30 days    
Threshold amount of money borrowed | $ $ 20,000    
Convertible senior notes | $   $ 140,189  
Convertible senior notes | Conversion of convertible debt after the calendar quarter ending on March 31, 2020      
Debt      
Conversion, threshold percentage of stock price trigger   130.00%  
Conversion, threshold trading days | D   20  
Conversion, threshold consecutive trading days | D   30