XML 71 R60.htm IDEA: XBRL DOCUMENT v3.22.2
Convertible Senior Notes - Convertible Senior Notes (Details)
$ / shares in Units, $ in Thousands
6 Months Ended
Feb. 13, 2020
USD ($)
D
$ / shares
Jun. 30, 2022
USD ($)
D
Dec. 31, 2021
USD ($)
Debt      
Convertible senior notes | $   $ 140,415 $ 139,966
Accumulated deficit | $   (274,602) (256,342)
Additional paid-in capital | $   520,038 $ 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,415  
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