XML 69 R58.htm IDEA: XBRL DOCUMENT v3.21.2
SHORT-TERM AND LONG-TERM INVESTMENTS - Components of Investments (Details) - USD ($)
$ in Thousands
Jul. 31, 2021
Oct. 31, 2020
Debt Securities, Available-for-sale [Line Items]    
Amortized Cost $ 242,853  
Estimated Fair Value 242,898  
U.S. government obligations    
Debt Securities, Available-for-sale [Line Items]    
Amortized Cost 242,853 $ 232,811
Gross Unrealized Gains 51 109
Gross Unrealized Losses (6) (27)
Estimated Fair Value 242,898 232,893
Included in short-term investments | U.S. government obligations    
Debt Securities, Available-for-sale [Line Items]    
Amortized Cost 181,966 150,559
Gross Unrealized Gains 44 109
Gross Unrealized Losses 0 (1)
Estimated Fair Value 182,010 150,667
Included in long-term investments | U.S. government obligations    
Debt Securities, Available-for-sale [Line Items]    
Amortized Cost 60,887 82,252
Gross Unrealized Gains 7 0
Gross Unrealized Losses (6) (26)
Estimated Fair Value $ 60,888 $ 82,226