Fair Value Measurements (Details) - Fair value, measurements, recurring - USD ($) $ in Millions | Apr. 30, 2023 | Jul. 31, 2022 |
Fair Value, Assets and Liabilities Measured on Recurring Basis | | |
Cash equivalents | $ 1,319.4 | $ 1,464.2 |
Short-term investments | 1,965.3 | 1,516 |
Long-term investments | 2,709.8 | 1,051.9 |
Total prepaid expenses and other current assets | 22.5 | 2.4 |
Total other assets | 5.4 | 0.7 |
Total assets measured at fair value | 6,022.4 | 4,035.2 |
Total accrued and other liabilities | 18.8 | 32.4 |
Total other long-term liabilities | 4.4 | 0.8 |
Total liabilities measured at fair value | 23.2 | 33.2 |
Level 1 | | |
Fair Value, Assets and Liabilities Measured on Recurring Basis | | |
Cash equivalents | 879.5 | 1,205.2 |
Short-term investments | 0 | 0 |
Long-term investments | 0 | 0 |
Total prepaid expenses and other current assets | 0 | 0 |
Total other assets | 0 | 0 |
Total assets measured at fair value | 879.5 | 1,205.2 |
Total accrued and other liabilities | 0 | 0 |
Total other long-term liabilities | 0 | 0 |
Total liabilities measured at fair value | 0 | 0 |
Level 2 | | |
Fair Value, Assets and Liabilities Measured on Recurring Basis | | |
Cash equivalents | 439.9 | 259 |
Short-term investments | 1,965.3 | 1,516 |
Long-term investments | 2,709.8 | 1,051.9 |
Total prepaid expenses and other current assets | 22.5 | 2.4 |
Total other assets | 5.4 | 0.7 |
Total assets measured at fair value | 5,142.9 | 2,830 |
Total accrued and other liabilities | 18.8 | 32.4 |
Total other long-term liabilities | 4.4 | 0.8 |
Total liabilities measured at fair value | 23.2 | 33.2 |
Level 3 | | |
Fair Value, Assets and Liabilities Measured on Recurring Basis | | |
Cash equivalents | 0 | 0 |
Short-term investments | 0 | 0 |
Long-term investments | 0 | 0 |
Total prepaid expenses and other current assets | 0 | 0 |
Total other assets | 0 | 0 |
Total assets measured at fair value | 0 | 0 |
Total accrued and other liabilities | 0 | 0 |
Total other long-term liabilities | 0 | 0 |
Total liabilities measured at fair value | 0 | 0 |
Money market funds | | |
Fair Value, Assets and Liabilities Measured on Recurring Basis | | |
Cash equivalents | 879.5 | 1,205.2 |
Money market funds | Level 1 | | |
Fair Value, Assets and Liabilities Measured on Recurring Basis | | |
Cash equivalents | 879.5 | 1,205.2 |
Money market funds | Level 2 | | |
Fair Value, Assets and Liabilities Measured on Recurring Basis | | |
Cash equivalents | 0 | 0 |
Money market funds | Level 3 | | |
Fair Value, Assets and Liabilities Measured on Recurring Basis | | |
Cash equivalents | 0 | 0 |
Certificates of deposit | | |
Fair Value, Assets and Liabilities Measured on Recurring Basis | | |
Cash equivalents | 0 | 155.3 |
Short-term investments | 194.1 | 116.4 |
Certificates of deposit | Level 1 | | |
Fair Value, Assets and Liabilities Measured on Recurring Basis | | |
Cash equivalents | 0 | 0 |
Short-term investments | 0 | 0 |
Certificates of deposit | Level 2 | | |
Fair Value, Assets and Liabilities Measured on Recurring Basis | | |
Cash equivalents | 0 | 155.3 |
Short-term investments | 194.1 | 116.4 |
Certificates of deposit | Level 3 | | |
Fair Value, Assets and Liabilities Measured on Recurring Basis | | |
Cash equivalents | 0 | 0 |
Short-term investments | 0 | 0 |
Commercial paper | | |
Fair Value, Assets and Liabilities Measured on Recurring Basis | | |
Cash equivalents | 369 | 69.1 |
Short-term investments | 617.9 | 79 |
Commercial paper | Level 1 | | |
Fair Value, Assets and Liabilities Measured on Recurring Basis | | |
Cash equivalents | 0 | 0 |
Short-term investments | 0 | 0 |
Commercial paper | Level 2 | | |
Fair Value, Assets and Liabilities Measured on Recurring Basis | | |
Cash equivalents | 369 | 69.1 |
Short-term investments | 617.9 | 79 |
Commercial paper | Level 3 | | |
Fair Value, Assets and Liabilities Measured on Recurring Basis | | |
Cash equivalents | 0 | 0 |
Short-term investments | 0 | 0 |
Corporate debt securities | | |
Fair Value, Assets and Liabilities Measured on Recurring Basis | | |
Cash equivalents | 21 | 19.5 |
Short-term investments | 824.5 | 505 |
Long-term investments | 2,140 | 761.2 |
Corporate debt securities | Level 1 | | |
Fair Value, Assets and Liabilities Measured on Recurring Basis | | |
Cash equivalents | 0 | 0 |
Short-term investments | 0 | 0 |
Long-term investments | 0 | 0 |
Corporate debt securities | Level 2 | | |
Fair Value, Assets and Liabilities Measured on Recurring Basis | | |
Cash equivalents | 21 | 19.5 |
Short-term investments | 824.5 | 505 |
Long-term investments | 2,140 | 761.2 |
Corporate debt securities | Level 3 | | |
Fair Value, Assets and Liabilities Measured on Recurring Basis | | |
Cash equivalents | 0 | 0 |
Short-term investments | 0 | 0 |
Long-term investments | 0 | 0 |
U.S. government and agency securities | | |
Fair Value, Assets and Liabilities Measured on Recurring Basis | | |
Cash equivalents | 49.9 | 10 |
Short-term investments | 324.4 | 798.2 |
Long-term investments | 33.6 | 118.2 |
U.S. government and agency securities | Level 1 | | |
Fair Value, Assets and Liabilities Measured on Recurring Basis | | |
Cash equivalents | 0 | 0 |
Short-term investments | 0 | 0 |
Long-term investments | 0 | 0 |
U.S. government and agency securities | Level 2 | | |
Fair Value, Assets and Liabilities Measured on Recurring Basis | | |
Cash equivalents | 49.9 | 10 |
Short-term investments | 324.4 | 798.2 |
Long-term investments | 33.6 | 118.2 |
U.S. government and agency securities | Level 3 | | |
Fair Value, Assets and Liabilities Measured on Recurring Basis | | |
Cash equivalents | 0 | 0 |
Short-term investments | 0 | 0 |
Long-term investments | 0 | 0 |
Non-U.S. government and agency securities | | |
Fair Value, Assets and Liabilities Measured on Recurring Basis | | |
Cash equivalents | 0 | 5.1 |
Short-term investments | 0 | 17.4 |
Long-term investments | 55.8 | 0 |
Non-U.S. government and agency securities | Level 1 | | |
Fair Value, Assets and Liabilities Measured on Recurring Basis | | |
Cash equivalents | 0 | 0 |
Short-term investments | 0 | 0 |
Long-term investments | 0 | 0 |
Non-U.S. government and agency securities | Level 2 | | |
Fair Value, Assets and Liabilities Measured on Recurring Basis | | |
Cash equivalents | 0 | 5.1 |
Short-term investments | 0 | 17.4 |
Long-term investments | 55.8 | 0 |
Non-U.S. government and agency securities | Level 3 | | |
Fair Value, Assets and Liabilities Measured on Recurring Basis | | |
Cash equivalents | 0 | 0 |
Short-term investments | 0 | 0 |
Long-term investments | 0 | 0 |
Asset-backed securities | | |
Fair Value, Assets and Liabilities Measured on Recurring Basis | | |
Short-term investments | 4.4 | 0 |
Long-term investments | 480.4 | 172.5 |
Asset-backed securities | Level 1 | | |
Fair Value, Assets and Liabilities Measured on Recurring Basis | | |
Short-term investments | 0 | 0 |
Long-term investments | 0 | 0 |
Asset-backed securities | Level 2 | | |
Fair Value, Assets and Liabilities Measured on Recurring Basis | | |
Short-term investments | 4.4 | 0 |
Long-term investments | 480.4 | 172.5 |
Asset-backed securities | Level 3 | | |
Fair Value, Assets and Liabilities Measured on Recurring Basis | | |
Short-term investments | 0 | 0 |
Long-term investments | 0 | 0 |
Foreign currency forward contracts | | |
Fair Value, Assets and Liabilities Measured on Recurring Basis | | |
Foreign currency forward contracts, assets, current | 22.5 | 2.4 |
Foreign currency forward contracts, assets, noncurrent | 5.4 | 0.7 |
Foreign currency forward contracts, liability, current | 18.8 | 32.4 |
Foreign currency forward contracts, liability, noncurrent | 4.4 | 0.8 |
Foreign currency forward contracts | Level 1 | | |
Fair Value, Assets and Liabilities Measured on Recurring Basis | | |
Foreign currency forward contracts, assets, current | 0 | 0 |
Foreign currency forward contracts, assets, noncurrent | 0 | 0 |
Foreign currency forward contracts, liability, current | 0 | 0 |
Foreign currency forward contracts, liability, noncurrent | 0 | 0 |
Foreign currency forward contracts | Level 2 | | |
Fair Value, Assets and Liabilities Measured on Recurring Basis | | |
Foreign currency forward contracts, assets, current | 22.5 | 2.4 |
Foreign currency forward contracts, assets, noncurrent | 5.4 | 0.7 |
Foreign currency forward contracts, liability, current | 18.8 | 32.4 |
Foreign currency forward contracts, liability, noncurrent | 4.4 | 0.8 |
Foreign currency forward contracts | Level 3 | | |
Fair Value, Assets and Liabilities Measured on Recurring Basis | | |
Foreign currency forward contracts, assets, current | 0 | 0 |
Foreign currency forward contracts, assets, noncurrent | 0 | 0 |
Foreign currency forward contracts, liability, current | 0 | 0 |
Foreign currency forward contracts, liability, noncurrent | $ 0 | $ 0 |