XML 71 R56.htm IDEA: XBRL DOCUMENT v3.24.3
Convertible Senior Notes - Additional Information (Details)
$ / shares in Units, $ in Thousands, shares in Millions
1 Months Ended 12 Months Ended
Jun. 06, 2024
USD ($)
Sep. 30, 2020
USD ($)
Jan. 31, 2023
USD ($)
Sep. 30, 2021
USD ($)
PurchasePeriod
$ / shares
shares
Jan. 31, 2018
USD ($)
$ / shares
shares
Jul. 31, 2024
USD ($)
Jul. 31, 2023
USD ($)
Jul. 31, 2022
USD ($)
Sep. 22, 2021
USD ($)
Sep. 24, 2020
USD ($)
Debt Instrument [Line Items]                    
Proceeds from Hedge, Financing Activities           $ 0 $ 0 $ 39,880    
Payments for unwinding of warrants           0 0 18,390    
Loss on debt extinguishment           0 0 (64,910)    
Proceeds from the issuance of convertible notes, net of issuance costs           $ 0 $ 0 88,687    
2023 Convertible Senior Notes                    
Debt Instrument [Line Items]                    
Payments for convertible note hedges         $ 143,200          
Loss on debt extinguishment               $ 64,900    
Number of securities called by warrants or rights (in shares) | shares         11.8          
Exercise price of warrants (in dollars per share) | $ / shares         $ 73.46          
Proceeds from issuance of warrants         $ 88,000          
Convertible Debt | Cash Transaction                    
Debt Instrument [Line Items]                    
Repayments of debt     $ 145,700              
Convertible Debt | 2023 Convertible Senior Notes                    
Debt Instrument [Line Items]                    
Interest rate, stated percentage         0.00% 0.00%        
Face amount         $ 575,000          
Convertible debt       $ 416,500            
Conversion price (in dollars per share) | $ / shares         $ 48.85          
Proceeds from Hedge, Financing Activities       39,900            
Payments for unwinding of warrants       18,400            
Debt outstanding                 $ 145,700  
Debt repurchase amount       12,800            
Proceeds From Unwind Transactions       21,500            
Convertible Debt | 2023 Convertible Senior Notes | Exchange Transactions                    
Debt Instrument [Line Items]                    
Face amount                 416,500  
Convertible Debt | 2023 Convertible Senior Notes | Cash Transaction                    
Debt Instrument [Line Items]                    
Debt repurchase amount                 12,800  
Convertible Debt | 2026 Convertible Senior Notes                    
Debt Instrument [Line Items]                    
Interest rate, stated percentage                   2.50%
Face amount $ 817,600 $ 750,000                
Conversion ratio 16,900,000                  
Debt Instrument Conversion For Cash $ 817,600                  
Proceeds from the issuance of convertible notes, net of issuance costs   723,700                
Payments of debt issuance costs   $ 26,300                
Derivative liability       $ 698,200           $ 230,900
Convertible Debt | 2027 Convertible Senior Notes                    
Debt Instrument [Line Items]                    
Interest rate, stated percentage       0.25%            
Face amount       $ 575,000            
Convertible debt       $ 477,300            
Conversion ratio       17.3192            
Conversion price (in dollars per share) | $ / shares       $ 57.74            
Threshold trading days | PurchasePeriod       20            
Threshold consecutive trading days | PurchasePeriod       30            
Debt Instrument Issued For Cash Net Of Expense       $ 88,400            
Debt repurchase amount       $ 14,700            
Redemption price, percentage       100.00%            
Debt Instrument Issued For Cash       $ 97,700            
Debt instrument, term           3 years 2 months 12 days        
Debt instrument, principal amount for conversion into common stock       $ 1,000            
Convertible Debt | 2027 Convertible Senior Notes | Exchange Transactions                    
Debt Instrument [Line Items]                    
Face amount                 $ 477,300  
Minimum | Convertible Debt | 2027 Convertible Senior Notes                    
Debt Instrument [Line Items]                    
Threshold percentage of stock price trigger       130.00%            
Common Class A | 2023 Convertible Senior Notes                    
Debt Instrument [Line Items]                    
Number of securities called by warrants or rights (in shares) | shares         11.8          
Common Class A | Convertible Debt | 2027 Convertible Senior Notes                    
Debt Instrument [Line Items]                    
Debt repurchase amount       $ 58,500            
Stock Repurchase Program, Number of Shares Authorized to be Repurchased | shares       1.4            
Common Class A | Maximum | Convertible Debt | 2027 Convertible Senior Notes                    
Debt Instrument [Line Items]                    
Threshold percentage of stock price trigger       98.00%