XML 52 R42.htm IDEA: XBRL DOCUMENT v3.23.2
Convertible Senior Notes - Net Carrying Amount (Details) - Senior Notes - USD ($)
$ in Thousands
Jun. 30, 2023
Dec. 31, 2022
Aug. 31, 2020
Apr. 30, 2019
Mar. 31, 2019
Senior Notes due 2026          
Debt Instrument [Line Items]          
Principal $ 414,198 $ 500,000 $ 1,000,000    
Unamortized issuance costs (3,466) (4,837)      
Senior Notes due 2026 | Carrying Amount | Fair Value, Measurements, Nonrecurring          
Debt Instrument [Line Items]          
Net carrying amount 410,732 495,163      
Senior Notes due 2025          
Debt Instrument [Line Items]          
Principal 358,914 699,979   $ 100,000 $ 700,000
Unamortized issuance costs (2,603) (6,549)      
Senior Notes due 2025 | Carrying Amount | Fair Value, Measurements, Nonrecurring          
Debt Instrument [Line Items]          
Net carrying amount $ 356,311 $ 693,430