XML 48 R38.htm IDEA: XBRL DOCUMENT v3.23.1
Convertible Senior Notes - Net Carrying Amount (Details) - Senior Notes - USD ($)
$ in Thousands
Mar. 31, 2023
Dec. 31, 2022
Aug. 31, 2020
Apr. 30, 2019
Mar. 31, 2019
2026 Notes          
Debt Instrument [Line Items]          
Principal $ 500,000 $ 500,000 $ 1,000,000    
Unamortized issuance costs (4,512) (4,837)      
2026 Notes | Carrying Amount | Fair Value, Measurements, Nonrecurring          
Debt Instrument [Line Items]          
Net carrying amount 495,488 495,163      
2025 Notes          
Debt Instrument [Line Items]          
Principal 699,979 699,979   $ 100,000 $ 700,000
Unamortized issuance costs (5,817) (6,549)      
2025 Notes | Carrying Amount | Fair Value, Measurements, Nonrecurring          
Debt Instrument [Line Items]          
Net carrying amount $ 694,162 $ 693,430