XML 64 R50.htm IDEA: XBRL DOCUMENT v3.21.2
Convertible Notes - Summary of Convertible Notes (Details) - USD ($)
$ in Thousands
Sep. 30, 2021
Apr. 30, 2021
Apr. 30, 2020
Aug. 31, 2019
2027 Notes        
Debt Instrument [Line Items]        
Principal $ 1,150,000 $ 1,150,000    
Unamortized debt issuance costs (11,891)      
Net carrying amount 1,138,109      
2025 Notes        
Debt Instrument [Line Items]        
Principal 284,105   $ 1,000,000  
Unamortized debt issuance costs (2,329)      
Net carrying amount 281,776      
2026 Notes        
Debt Instrument [Line Items]        
Principal 838,495     $ 1,265,000
Unamortized debt issuance costs (6,301)      
Net carrying amount $ 832,194