XML 59 R49.htm IDEA: XBRL DOCUMENT v3.22.2
Convertible Senior Notes - Net Carrying Amount (Details) - Senior Notes - USD ($)
$ in Thousands
Jun. 30, 2022
Dec. 31, 2021
Aug. 31, 2020
Apr. 30, 2019
Mar. 31, 2019
2026 Notes          
Debt Instrument [Line Items]          
Principal $ 1,000,000 $ 1,000,000 $ 1,000,000    
Unamortized issuance costs (11,002) (12,309)      
2026 Notes | Carrying Amount | Fair Value, Measurements, Nonrecurring          
Debt Instrument [Line Items]          
Net carrying amount 988,998 987,691      
2025 Notes          
Debt Instrument [Line Items]          
Principal 699,979 699,982   $ 100,000 $ 700,000
Unamortized issuance costs (8,046) (9,518)      
2025 Notes | Carrying Amount | Fair Value, Measurements, Nonrecurring          
Debt Instrument [Line Items]          
Net carrying amount $ 691,933 $ 690,464