v3.22.2
Long-Term Debt - Summary of Convertible Notes (Details) - USD ($)
$ in Thousands
Jun. 30, 2022
Feb. 28, 2022
Dec. 31, 2021
Apr. 30, 2021
Apr. 30, 2020
Aug. 31, 2019
2025 Notes            
Debt Instrument [Line Items]            
Principal $ 284,105   $ 284,105   $ 1,000,000  
Unamortized debt issuance costs (1,845)   (2,168)      
Net carrying amount 282,260   281,937      
2026 Notes            
Debt Instrument [Line Items]            
Principal 838,484   838,493     $ 1,265,000
Unamortized debt issuance costs (5,342)   (5,982)      
Net carrying amount 833,142   832,511      
2027 Notes            
Debt Instrument [Line Items]            
Principal 1,150,000   1,150,000 $ 1,150,000    
Unamortized debt issuance costs (10,300)   (11,361)      
Net carrying amount 1,139,700   $ 1,138,639      
2028 Notes            
Debt Instrument [Line Items]            
Principal 1,500,000 $ 1,500,000        
Unamortized debt issuance costs (16,010)          
Net carrying amount $ 1,483,990