XML 62 R50.htm IDEA: XBRL DOCUMENT v3.22.1
Convertible Senior Notes - Net Proceeds from Notes (Details) - USD ($)
$ in Thousands
1 Months Ended 9 Months Ended
Jan. 31, 2018
Apr. 30, 2022
Jul. 31, 2021
Debt Instrument [Line Items]      
Add: proceeds from the sale of warrants   $ 10  
2023 Convertible Senior Notes      
Debt Instrument [Line Items]      
Principal amount $ 1,000    
Less: cost of the bond hedges (143,200)    
Add: proceeds from the sale of warrants 88,000    
Convertible Debt | 2023 Convertible Senior Notes      
Debt Instrument [Line Items]      
Principal amount 575,000 $ 145,704 $ 575,000
Less: initial purchasers' discount (10,781)    
Less: cost of the bond hedges (143,175)    
Add: proceeds from the sale of warrants 87,975    
Less: other issuance costs (707)    
Net proceeds $ 508,312