XML 70 R60.htm IDEA: XBRL DOCUMENT v3.22.2
Notes Payable - General Information (Details) - USD ($)
$ / shares in Units, $ in Thousands
1 Months Ended 12 Months Ended
Aug. 31, 2019
Jun. 30, 2015
Dec. 31, 2019
Jun. 30, 2022
Dec. 31, 2021
Apr. 15, 2019
Notes Payable            
Payments for convertible note hedges $ 25,200 $ 21,100        
Proceeds from partial termination of convertible note hedges and note hedge warrants 3,200          
Convertible Note Hedge            
Notes Payable            
Conversion price (in dollars per share)           $ 14.51
2.25% Convertible Senior Notes due 2022 | Convertible Senior Notes            
Notes Payable            
Aggregate principal amount of notes issued   335,700     $ 120,699  
Net proceed received   324,000        
Fees and expenses   $ 11,700        
Stated interest rate (as a percent)   2.25%        
Debt redeemed/repurchased 215,000     $ 120,700    
Debt redemption/repurchase price $ 227,300          
Loss on extinguishment of debt     $ 23,400      
Initial debt issuance costs     $ 2,800