XML 42 R30.htm IDEA: XBRL DOCUMENT v3.21.2
Financial Assets and Liabilities (Tables)
9 Months Ended
Jul. 31, 2021
Financial Assets And Liabilities [Abstract]  
Debt Securities, Available-for-sale
As of July 31, 2021, the stated maturities of the Company's short-term available-for-sale securities were:

Amortized CostFair Value
(in thousands)
less than 1 year$38,178 $38,169 
1-5 years99,133 99,154 
> 5 years7,447 7,450 
Total$144,758 $144,773 
Summary of Cash Equivalents
As of July 31, 2021, the balances of the Company’s cash equivalents and short-term investments were:
CostGross
Unrealized
Gains
Gross
Unrealized
Losses Less Than 12 Continuous Months
Gross
Unrealized
Losses 12 Continuous Months or Longer
Estimated
Fair Value
(1)
 (in thousands)
Cash equivalents:
Money market funds$249,814 $— $— $— $249,814 
Corporate debt securities3,080 — (1)— 3,079 
Total:$252,894 $— $(1)$— $252,893 
Short-term investments:
U.S. government agency & T-bills$7,745 $$— $— $7,747 
Municipal bonds2,465 — — 2,466 
Corporate debt securities100,308 38 (28)— 100,318 
Asset-backed securities33,502 10 (7)— 33,505 
Others738 — (1)— 737 
Total:$144,758 $51 $(36)$— $144,773 
(1)See Note 7. Fair Value Measures for further discussion on fair values of cash equivalents and short-term investments.
As of October 31, 2020, the balances of the Company’s cash equivalents were:
CostGross
Unrealized
Gains
Gross
Unrealized
Losses Less Than 12 Continuous Months
Gross
Unrealized
Losses 12 Continuous Months or Longer
Estimated
Fair Value
(1)
 (in thousands)
Cash equivalents:
Money market funds$304,127 $— $— $— $304,127 
Total:$304,127 $— $— $— $304,127 
(1)See Note 7. Fair Value Measures for further discussion on fair values of cash equivalents.
Schedule of Cash, Cash Equivalents and Restricted Cash The following table provides a reconciliation of cash, cash equivalents and restricted cash included in the unaudited condensed consolidated balance sheets:
As of
July 31, 2021October 31, 2020
(in thousands)
Cash and cash equivalents$1,385,395 $1,235,653 
Restricted cash included in Prepaid expenses and other current assets1,556 1,523 
Restricted cash included in Other long-term assets786 794 
Total cash, cash equivalents and restricted cash$1,387,737 $1,237,970 
Effects on Changes in Fair Values of Non-Designated Forward Contracts
The effects of the non-designated derivative instruments on the Company’s unaudited condensed consolidated statements of operations is summarized as follows:
 Three Months Ended 
 July 31,
Nine Months Ended 
 July 31,
 2021202020212020
 (in thousands)
Gain (loss) recorded in other income (expense), net$(837)$2,995 $1,420 $1,891 
Notional Amounts of Derivative Instruments
The notional amounts in the table below for derivative instruments provide one measure of the transaction volume outstanding:
As of
July 31, 2021October 31, 2020
 (in thousands)
Total gross notional amount$826,747 $981,234 
Net fair value$11,346 $6,940 
Fair Values of Derivative Instrument Designated and Non-Designated as Hedging Instruments in Balance Sheet
The following table represents the unaudited condensed consolidated balance sheets location and amount of derivative instrument fair values segregated between designated and non-designated hedge instruments:
Fair values of
derivative instruments
designated as hedging
instruments
Fair values of
derivative instruments
not designated as
hedging instruments
 (in thousands)
Balance at July 31, 2021
Other current assets$11,060 $598 
Accrued liabilities$237 $75 
Balance at October 31, 2020
Other current assets$9,182 $138 
Accrued liabilities$2,088 $292 
Income Statement Location and Amount of Gains and Losses on Derivative Instrument Fair Values for Designated Hedge Instruments, Net of Tax
Location of gain (loss)
recognized in OCI on
derivatives
Amount of gain (loss)
recognized in OCI on
derivatives
(effective portion)
Location of
gain (loss)
reclassified from OCI
Amount of
gain (loss)
reclassified from
OCI
(effective portion)
 (in thousands)
Three months ended 
 July 31, 2021
Foreign exchange contractsRevenue$251 Revenue$1,563 
Foreign exchange contractsOperating expenses3,413 Operating expenses3,267 
Total$3,664 $4,830 
Three months ended 
 July 31, 2020
Foreign exchange contractsRevenue$626 Revenue$466 
Foreign exchange contractsOperating expenses11,773 Operating expenses(1,175)
Total$12,399 $(709)
Nine months ended 
 July 31, 2021
Foreign exchange contractsRevenue$1,892 Revenue$2,597 
Foreign exchange contractsOperating expenses7,079 Operating expenses9,583 
Total$8,971 $12,180 
Nine months ended 
 July 31, 2020
Foreign exchange contractsRevenue$2,836 Revenue$648 
Foreign exchange contractsOperating expenses1,129 Operating expenses(2,211)
Total$3,965 $(1,563)