| Schedule of Available-for-Sale Securities Reconciliation |
As of the dates indicated, investments are comprised of the following (in thousands): | | | | | | | | | | | | | | | | | | | | | | | | | | April 29, 2023 | | Amortized Cost | | Gross Unrealized Gains | | Gross Unrealized Losses | | Estimated Fair Value | | U.S. government obligations | $ | 120,628 | | | $ | 39 | | | $ | (1,620) | | | $ | 119,047 | | | Corporate debt securities | 57,707 | | | 41 | | | (90) | | | 57,658 | | | Time deposits | 91,454 | | | 2 | | | (5) | | | 91,451 | | | $ | 269,789 | | | $ | 82 | | | $ | (1,715) | | | $ | 268,156 | | | | | | | | | | | Included in cash equivalents | $ | 92,455 | | | $ | — | | | $ | — | | | $ | 92,455 | | | Included in short-term investments | 152,105 | | | 38 | | | (1,679) | | | 150,464 | | | Included in long-term investments | 25,229 | | | 44 | | | (36) | | | 25,237 | | | $ | 269,789 | | | $ | 82 | | | $ | (1,715) | | | $ | 268,156 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | October 29, 2022 | | Amortized Cost | | Gross Unrealized Gains | | Gross Unrealized Losses | | Estimated Fair Value | | U.S. government obligations | $ | 137,963 | | | $ | — | | | $ | (3,379) | | | $ | 134,584 | | | Corporate debt securities | 54,899 | | | 1 | | | (405) | | | 54,495 | | | Time deposits | 55,889 | | | — | | | (64) | | | 55,825 | | | $ | 248,751 | | | $ | 1 | | | $ | (3,848) | | | $ | 244,904 | | | | | | | | | | | Included in cash equivalents | $ | 55,530 | | | $ | — | | | $ | — | | | $ | 55,530 | | | Included in short-term investments | 156,430 | | | 1 | | | (2,442) | | | 153,989 | | | Included in long-term investments | 36,791 | | | — | | | (1,406) | | | 35,385 | | | $ | 248,751 | | | $ | 1 | | | $ | (3,848) | | | $ | 244,904 | |
|
| Schedule of Legal Maturities of Debt Investments |
The following table summarizes the final legal maturities of debt investments as of April 29, 2023 (in thousands): | | | | | | | | | | | | | Amortized Cost | | Estimated Fair Value | | Less than one year | $ | 244,560 | | | $ | 242,919 | | | Due in 1-2 years | 25,229 | | | 25,237 | | | | $ | 269,789 | | | $ | 268,156 | |
|