XML 62 R53.htm IDEA: XBRL DOCUMENT v3.22.2.2
Convertible Senior Notes - Schedule of Net Carrying Amount of Liability and Equity Component of Convertible Notes (Details) - USD ($)
$ in Thousands
Sep. 30, 2022
Dec. 31, 2021
Jun. 30, 2020
Mar. 31, 2018
Convertible senior notes due 2023        
Net Carrying Amount of Equity Component of Convertible Notes [Abstract]        
Debt discount for conversion option       $ 125,000
Convertible debt | Convertible senior notes due 2025        
Net Carrying Amount of Liability Component of Convertible Notes [Abstract]        
Principal $ 1,150,000 $ 1,150,000    
Unamortized debt discount 0 (157,983)    
Unamortized issuance costs (11,528) (12,667) $ (17,000)  
Net carrying amount 1,138,472 979,350    
Net Carrying Amount of Equity Component of Convertible Notes [Abstract]        
Debt discount for conversion option 0 220,061 $ 220,000  
Issuance costs 0 (4,035)    
Net carrying amount 0 216,026    
Convertible debt | Convertible senior notes due 2023        
Net Carrying Amount of Liability Component of Convertible Notes [Abstract]        
Principal 149,194 149,194    
Unamortized debt discount 0 (8,641)    
Unamortized issuance costs (329) (815)    
Net carrying amount 148,865 139,738   $ 367,000
Net Carrying Amount of Equity Component of Convertible Notes [Abstract]        
Debt discount for conversion option 0 32,427    
Issuance costs 0 (765)    
Net carrying amount $ 0 $ 31,662