XML 26 R15.htm IDEA: XBRL DOCUMENT
v3.21.2

SHORT-TERM AND LONG-TERM INVESTMENTS | 9 Months Ended
--- | ---
Jul. 31, 2021
Investments, Debt and Equity Securities [Abstract] |
SHORT-TERM AND LONG-TERM INVESTMENTS | SHORT-TERM AND LONG-TERM INVESTMENTS As of the dates indicated, investments are comprised of the following (in thousands):
| July 31, 2021
| Amortized Cost |  | Gross Unrealized Gains |  | Gross Unrealized Losses |  | Estimated Fair Value
U.S. government obligations: |  |  |  |  |  |  |
Included in short-term investments | $ | 181,966 |  |  | $ | 44 |  |  | $ | — |  |  | $ | 182,010 |
Included in long-term investments | 60,887 |  |  | 7 |  |  | (6) |  |  | 60,888 |
| $ | 242,853 |  |  | $ | 51 |  |  | $ | (6) |  |  | $ | 242,898 |
| October 31, 2020
| Amortized Cost |  | Gross Unrealized Gains |  | Gross Unrealized Losses |  | Estimated Fair Value
U.S. government obligations: |  |  |  |  |  |  |
Included in short-term investments | $ | 150,559 |  |  | $ | 109 |  |  | $ | (1) |  |  | $ | 150,667 |
Included in long-term investments | 82,252 |  |  | — |  |  | (26) |  |  | 82,226 |
| $ | 232,811 |  |  | $ | 109 |  |  | $ | (27) |  |  | $ | 232,893 |
The following table summarizes the final legal maturities of debt investments at July 31, 2021 (in thousands):
| Amortized Cost |  | Estimated Fair Value
Less than one year | $ | 181,966 |  |  | $ | 182,010 |
Due in 1-2 years | 60,887 |  |  | 60,888 |
| $ | 242,853 |  |  | $ | 242,898 |

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 http://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 http://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 http://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 http://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