The following tables summarize the amortized cost, unrealized gains and losses, and fair value of our available-for-sale debt securities as of October 31, 2024 and July 31, 2024 (in millions): | | | | | | | | | | | | | | | | | | | | | | | | | October 31, 2024 | | Amortized Cost | | Unrealized Gains | | Unrealized Losses | | Fair Value | | Cash equivalents: | | | | | | | | | | | | | | | | | Commercial paper | $ | 228.7 | | | $ | — | | | $ | — | | | $ | 228.7 | | | Corporate debt securities | 34.2 | | | — | | | — | | | 34.2 | | | U.S. government and agency securities | 74.8 | | | — | | | — | | | 74.8 | | | | | | | | | | | Total available-for-sale cash equivalents | $ | 337.7 | | | $ | — | | | $ | — | | | $ | 337.7 | | | Investments: | | | | | | | | | Certificates of deposit | $ | 15.7 | | | $ | — | | | $ | — | | | $ | 15.7 | | | Commercial paper | 36.1 | | | — | | | — | | | 36.1 | | | Corporate debt securities | 4,115.2 | | | 25.3 | | | (7.8) | | | 4,132.7 | | | U.S. government and agency securities | 21.9 | | | — | | | — | | | 21.9 | | | Non-U.S. government and agency securities | 38.6 | | | 0.5 | | | — | | | 39.1 | | | Asset-backed securities | 976.1 | | | 7.1 | | | (0.8) | | | 982.4 | | | Total available-for-sale investments | $ | 5,203.6 | | | $ | 32.9 | | | $ | (8.6) | | | $ | 5,227.9 | |
| | | | | | | | | | | | | | | | | | | | | | | | | July 31, 2024 | | Amortized Cost | | Unrealized Gains | | Unrealized Losses | | Fair Value | | Cash equivalents: | | | | | | | | | | | | | | | | | Commercial paper | $ | 299.6 | | | $ | — | | | $ | — | | | $ | 299.6 | | | Corporate debt securities | 18.2 | | | — | | | — | | | 18.2 | | | U.S. government and agency securities | 149.6 | | | — | | | — | | | 149.6 | | | | | | | | | | | Total available-for-sale cash equivalents | $ | 467.4 | | | $ | — | | | $ | — | | | $ | 467.4 | | | Investments: | | | | | | | | | Certificates of deposit | $ | 20.6 | | | $ | — | | | $ | — | | | $ | 20.6 | | | Commercial paper | 79.9 | | | 0.1 | | | (0.1) | | | 79.9 | | | Corporate debt securities | 4,065.5 | | | 28.3 | | | (6.6) | | | 4,087.2 | | | U.S. government and agency securities | 21.9 | | | — | | | (0.2) | | | 21.7 | | | Non-U.S. government and agency securities | 57.9 | | | 0.7 | | | — | | | 58.6 | | | Asset-backed securities | 943.1 | | | 6.3 | | | (0.6) | | | 948.8 | | | Total available-for-sale investments | $ | 5,188.9 | | | $ | 35.4 | | | $ | (7.5) | | | $ | 5,216.8 | |
|