XML 49 R38.htm IDEA: XBRL DOCUMENT v3.21.1
Business and Nature of Operations - Additional Information (Details) - USD ($)
$ in Thousands
1 Months Ended
Mar. 31, 2021
Nov. 30, 2017
Dec. 31, 2020
0% Convertible Senior Notes Due March 15, 2026      
Organization Consolidation And Presentation Of Financial Statements [Line Items]      
Aggregate principal amount $ 375,000    
Debt instrument, interest rate 0.00%    
Debt instrument, maturity date Mar. 15, 2026    
Cost of purchased capped call options $ 35,100    
1.50% Convertible Senior Notes Due 2022      
Organization Consolidation And Presentation Of Financial Statements [Line Items]      
Aggregate principal amount $ 1,538 $ 115,000 $ 79,795
Debt instrument, interest rate 1.50% 1.50%  
Debt instrument, maturity date   Nov. 01, 2022  
Cost of purchased capped call options   $ 12,900  
Repayments of debt $ 58,600    
Issuance of common stock 1,288,994    
Repurchase of aggregate principal amount $ 58,600    
Partially terminated capped call options 10,600    
Option to Purchase | 0% Convertible Senior Notes Due March 15, 2026      
Organization Consolidation And Presentation Of Financial Statements [Line Items]      
Aggregate principal amount $ 50,000    
Option to Purchase | 1.50% Convertible Senior Notes Due 2022      
Organization Consolidation And Presentation Of Financial Statements [Line Items]      
Aggregate principal amount   $ 15,000