v3.24.0.1
INDEBTEDNESS - Net Carrying Amount of Convertible Notes (Details) - USD ($)
$ in Thousands
Dec. 31, 2023
Dec. 31, 2022
Convertible Debt    
Debt Instrument [Line Items]    
Principal outstanding $ 4,150,000 $ 4,610,630
Unamortized Debt Issuance Costs (29,909) (40,445)
Total 4,120,091 4,570,185
2031 Senior Notes | Senior Notes    
Debt Instrument [Line Items]    
Principal outstanding 1,000,000 1,000,000
Unamortized Debt Issuance Costs (10,433) (11,829)
Total 989,567 988,171
2026 Senior Notes | Senior Notes    
Debt Instrument [Line Items]    
Principal outstanding 1,000,000 1,000,000
Unamortized Debt Issuance Costs (6,792) (9,586)
Total 993,208 990,414
2027 Convertible Notes | Convertible Debt    
Debt Instrument [Line Items]    
Principal outstanding 575,000 575,000
Unamortized Debt Issuance Costs (5,135) (6,465)
Total 569,865 568,535
2026 Convertible Notes | Convertible Debt    
Debt Instrument [Line Items]    
Principal outstanding 575,000 575,000
Unamortized Debt Issuance Costs (3,986) (5,685)
Total 571,014 569,315
2025 Convertible Notes | Convertible Debt    
Debt Instrument [Line Items]    
Principal outstanding 1,000,000 1,000,000
Unamortized Debt Issuance Costs (3,563) (6,606)
Total $ 996,437 993,394
2023 Convertible Notes | Convertible Debt    
Debt Instrument [Line Items]    
Principal outstanding   460,630
Unamortized Debt Issuance Costs   (274)
Total   $ 460,356