XML 39 R37.htm IDEA: XBRL DOCUMENT
v3.20.1

Short-Term and Long-Term Investments (Tables) | 3 Months Ended
--- | ---
Jan. 31, 2020
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):
| January 31, 2020
| Amortized Cost |  | Gross Unrealized Gains |  | Gross Unrealized Losses |  | Estimated Fair Value
U.S. government obligations: |  |  |  |  |  |  |
Included in short-term investments | $ | 109,962 |  |  | $ | 105 |  |  | $ | — |  |  | $ | 110,067 |
Included in long-term investments | 10,073 |  |  | 3 |  |  | — |  |  | 10,076 |
| $ | 120,035 |  |  | $ | 108 |  |  | $ | — |  |  | $ | 120,143 |
| October 31, 2019
| Amortized Cost |  | Gross Unrealized Gains |  | Gross Unrealized Losses |  | Estimated Fair Value
U.S. government obligations: |  |  |  |  |  |  |
Included in short-term investments | $ | 109,715 |  |  | $ | 225 |  |  | $ | — |  |  | $ | 109,940 |
Included in long-term investments | 10,017 |  |  | — |  |  | (3 | ) |  | 10,014 |
| $ | 119,732 |  |  | $ | 225 |  |  | $ | (3 | ) |  | $ | 119,954 |
Schedule of Legal Maturities of Debt Investments | The following table summarizes the final legal maturities of debt investments at January 31, 2020 (in thousands):
| Amortized Cost |  | Estimated Fair Value
Less than one year | $ | 109,962 |  |  | $ | 110,067 |
Due in 1-2 years | 10,073 |  |  | 10,076 |
| $ | 120,035 |  |  | $ | 120,143 |

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: | nonnum: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: | nonnum: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