XML 60 R50.htm IDEA: XBRL DOCUMENT v3.22.2.2
Convertible Senior Notes - Net Carrying Amount (Details) - Senior Notes - USD ($)
$ in Thousands
Sep. 30, 2022
Dec. 31, 2021
Aug. 31, 2020
Apr. 30, 2019
Mar. 31, 2019
2026 Notes          
Debt Instrument [Line Items]          
Principal $ 500,000 $ 1,000,000 $ 1,000,000    
Unamortized issuance costs (5,169) (12,309)      
2026 Notes | Carrying Amount | Fair Value, Measurements, Nonrecurring          
Debt Instrument [Line Items]          
Net carrying amount 494,831 987,691      
2025 Notes          
Debt Instrument [Line Items]          
Principal 699,979 699,982   $ 100,000 $ 700,000
Unamortized issuance costs (7,297) (9,518)      
2025 Notes | Carrying Amount | Fair Value, Measurements, Nonrecurring          
Debt Instrument [Line Items]          
Net carrying amount $ 692,682 $ 690,464