XML 26 R16.htm IDEA: XBRL DOCUMENT
v3.22.1

SHORT-TERM AND LONG-TERM INVESTMENTS | 6 Months Ended
--- | ---
Apr. 30, 2022
Investments, Debt and Equity Securities [Abstract] |
SHORT-TERM AND LONG-TERM INVESTMENTS | SHORT-TERM AND LONG-TERM INVESTMENTSAs of the dates indicated, investments are comprised of the following (in thousands):
| April 30, 2022
| Amortized Cost |  | Gross Unrealized Gains |  | Gross Unrealized Losses |  | Estimated Fair Value
U.S. government obligations: |  |  |  |  |  |  |
Included in short-term investments | $ | 530,051 |  |  | $ | 1 |  |  | $ | (500) |  |  | $ | 529,552 |
Included in long-term investments | 89,593 |  |  | — |  |  | (2,451) |  |  | 87,142 |
| $ | 619,644 |  |  | $ | 1 |  |  | $ | (2,951) |  |  | $ | 616,694 |
| October 30, 2021
| Amortized Cost |  | Gross Unrealized Gains |  | Gross Unrealized Losses |  | Estimated Fair Value
U.S. government obligations: |  |  |  |  |  |  |
Included in short-term investments | $ | 181,488 |  |  | $ | 5 |  |  | $ | (10) |  |  | $ | 181,483 |
Included in long-term investments | 70,225 |  |  | — |  |  | (187) |  |  | 70,038 |
| $ | 251,713 |  |  | $ | 5 |  |  | $ | (197) |  |  | $ | 251,521 |
The following table summarizes the final legal maturities of debt investments as of April 30, 2022 (in thousands):
| Amortized Cost |  | Estimated Fair Value
Less than one year | $ | 530,051 |  |  | $ | 529,552 |
Due in 1-2 years | 89,593 |  |  | 87,142 |
| $ | 619,644 |  |  | $ | 616,694 |

X
- References No definition available. + Details
Name: | us-gaap_InvestmentsDebtAndEquitySecuritiesAbstract
Namespace Prefix: | us-gaap_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition The entire disclosure for investments in certain debt and equity securities. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 942 -SubTopic 320 -URI https://asc.fasb.org/subtopic&trid=2209399 Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 946 -SubTopic 320 -URI https://asc.fasb.org/subtopic&trid=2324412 Reference 3: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 320 -URI https://asc.fasb.org/topic&trid=2196928 Reference 4: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 940 -SubTopic 320 -URI https://asc.fasb.org/subtopic&trid=2176304 Reference 5: http://www.xbrl.org/2003/role/disclosureRef -Publisher SEC -Name Regulation S-K (SK) -Number 229 -Section 1403 -Paragraph (b) + Details
Name: | us-gaap_InvestmentsInDebtAndMarketableEquitySecuritiesAndCertainTradingAssetsDisclosureTextBlock
Namespace Prefix: | us-gaap_
Data Type: | dtr-types:textBlockItemType
Balance Type: | na
Period Type: | duration