XML 46 R35.htm IDEA: XBRL DOCUMENT
v3.21.2

SHORT-TERM AND LONG-TERM INVESTMENTS (Tables) | 9 Months Ended
--- | ---
Jul. 31, 2021
Investments, Debt and Equity Securities [Abstract] |
Schedule of 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 |
Schedule of Legal Maturities of Debt Investments | 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
- Definition Tabular disclosure of investment in debt security measured at fair value with change in fair value recognized in other comprehensive income (available-for-sale). + References Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef -Publisher FASB -Name Accounting Standards Codification -Topic 320 -URI http://asc.fasb.org/topic&trid=2196928 + Details
Name: | us-gaap_DebtSecuritiesAvailableForSaleTableTextBlock
Namespace Prefix: | us-gaap_
Data Type: | dtr-types:textBlockItemType
Balance Type: | na
Period Type: | duration

X
- Definition Tabular disclosure of maturities of an entity's investments as well as any other information pertinent to the investments. + References No definition available. + Details
Name: | us-gaap_InvestmentsClassifiedByContractualMaturityDateTableTextBlock
Namespace Prefix: | us-gaap_
Data Type: | dtr-types:textBlockItemType
Balance Type: | na
Period Type: | duration

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