Fair Value Measurements (Details) - Fair value, measurements, recurring - USD ($) $ in Millions | Jan. 31, 2023 | Jul. 31, 2022 |
Fair Value, Assets and Liabilities Measured on Recurring Basis | | |
Cash equivalents | $ 862.1 | $ 1,464.2 |
Short-term investments | 2,000.6 | 1,516 |
Long-term investments | 2,820.6 | 1,051.9 |
Total prepaid expenses and other current assets | 25.1 | 2.4 |
Total other assets | 9.1 | 0.7 |
Total assets measured at fair value | 5,717.5 | 4,035.2 |
Total accrued and other liabilities | 14.2 | 32.4 |
Total other long-term liabilities | 2.6 | 0.8 |
Total liabilities measured at fair value | 16.8 | 33.2 |
Level 1 | | |
Fair Value, Assets and Liabilities Measured on Recurring Basis | | |
Cash equivalents | 655.9 | 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 | 655.9 | 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 | 206.2 | 259 |
Short-term investments | 2,000.6 | 1,516 |
Long-term investments | 2,820.6 | 1,051.9 |
Total prepaid expenses and other current assets | 25.1 | 2.4 |
Total other assets | 9.1 | 0.7 |
Total assets measured at fair value | 5,061.6 | 2,830 |
Total accrued and other liabilities | 14.2 | 32.4 |
Total other long-term liabilities | 2.6 | 0.8 |
Total liabilities measured at fair value | 16.8 | 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 | 655.9 | 1,205.2 |
Money market funds | Level 1 | | |
Fair Value, Assets and Liabilities Measured on Recurring Basis | | |
Cash equivalents | 655.9 | 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 | 6.5 | 155.3 |
Short-term investments | 210.8 | 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 | 6.5 | 155.3 |
Short-term investments | 210.8 | 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 | 175.2 | 69.1 |
Short-term investments | 630.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 | 175.2 | 69.1 |
Short-term investments | 630.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 | 24.5 | 19.5 |
Short-term investments | 701 | 505 |
Long-term investments | 2,217.1 | 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 | 24.5 | 19.5 |
Short-term investments | 701 | 505 |
Long-term investments | 2,217.1 | 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 | 0 | 10 |
Short-term investments | 444.2 | 798.2 |
Long-term investments | 68.9 | 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 | 0 | 10 |
Short-term investments | 444.2 | 798.2 |
Long-term investments | 68.9 | 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 | 13.7 | 17.4 |
Long-term investments | 54.4 | 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 | 13.7 | 17.4 |
Long-term investments | 54.4 | 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 | | |
Long-term investments | 480.2 | 172.5 |
Asset-backed securities | Level 1 | | |
Fair Value, Assets and Liabilities Measured on Recurring Basis | | |
Long-term investments | 0 | 0 |
Asset-backed securities | Level 2 | | |
Fair Value, Assets and Liabilities Measured on Recurring Basis | | |
Long-term investments | 480.2 | 172.5 |
Asset-backed securities | Level 3 | | |
Fair Value, Assets and Liabilities Measured on Recurring Basis | | |
Long-term investments | 0 | 0 |
Foreign currency forward contracts | | |
Fair Value, Assets and Liabilities Measured on Recurring Basis | | |
Foreign currency forward contracts, assets, current | 25.1 | 2.4 |
Foreign currency forward contracts, assets, noncurrent | 9.1 | 0.7 |
Foreign currency forward contracts, liability, current | 14.2 | 32.4 |
Foreign currency forward contracts, liability, noncurrent | 2.6 | 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 | 25.1 | 2.4 |
Foreign currency forward contracts, assets, noncurrent | 9.1 | 0.7 |
Foreign currency forward contracts, liability, current | 14.2 | 32.4 |
Foreign currency forward contracts, liability, noncurrent | 2.6 | 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 |