XML 43 R21.htm IDEA: XBRL DOCUMENT
v3.19.3.a.u2

Cash Equivalents and Short-Term Investments (Tables) | 6 Months Ended
--- | ---
Jan. 31, 2020
Cash and Cash Equivalents [Abstract] |
Schedule of Cash Equivalents and Short-Term Investments | Cash equivalents and short-term investments consisted of the following as of January 31, 2020:
| Amortized Cost |  | Unrealized Gains |  | Unrealized Losses |  | Fair Value
| (in thousands) |  |  |  |  |  |
Cash equivalents: |  |  |  |  |  |  |
Money market funds | $ | 42,374 |  |  | $ | — |  |  | $ | — |  |  | $ | 42,374 |
U.S. government agency securities | 1,500 |  |  | — |  |  | — |  |  | 1,500 |
Total | $ | 43,874 |  |  | $ | — |  |  | $ | — |  |  | $ | 43,874 |
Short-term investments: |  |  |  |  |  |  |
U.S. treasury securities | $ | 71,914 |  |  | $ | 254 |  |  | $ | — |  |  | $ | 72,168 |
U.S. government agency securities | 112,956 |  |  | 47 |  |  | (23) |  |  | 112,980 |
Corporate debt securities | 122,903 |  |  | 334 |  |  | (5) |  |  | 123,232 |
Total | $ | 307,773 |  |  | $ | 635 |  |  | $ | (28) |  |  | $ | 308,380 |
Total cash equivalents and short-term investments | $ | 351,647 |  |  | $ | 635 |  |  | $ | (28) |  |  | $ | 352,254 |
Cash equivalents and short-term investments consisted of the following as of July 31, 2019:
| Amortized Cost |  | Unrealized Gains |  | Unrealized Losses |  | Fair Value
Cash equivalents: | (in thousands) |  |  |  |  |  |
Money market funds | $ | 55,036 |  |  | $ | — |  |  | $ | — |  |  | $ | 55,036 |
Short-term investments: |  |  |  |  |  |  |
U.S. treasury securities | $ | 125,042 |  |  | $ | 248 |  |  | $ | (9) |  |  | $ | 125,281 |
U.S. government agency securities | 64,689 |  |  | 7 |  |  | (50) |  |  | 64,646 |
Corporate debt securities | 96,047 |  |  | 207 |  |  | (19) |  |  | 96,235 |
Total | $ | 285,778 |  |  | $ | 462 |  |  | $ | (78) |  |  | $ | 286,162 |
Total cash equivalents and short-term investments | $ | 340,814 |  |  | $ | 462 |  |  | $ | (78) |  |  | $ | 341,198 |
Schedule of Maturities | The amortized cost and fair value of our short-term investments based on their stated maturities consisted of the following as of January 31, 2020:
| Amortized Cost |  | Fair Value
| (in thousands) |  |
Due within one year | $ | 173,815 |  |  | $ | 174,232 |
Due between one and two years | 133,958 |  |  | 134,148 |
Total | $ | 307,773 |  |  | $ | 308,380 |
Schedule of Unrealized Loss on Investments | Short-term investments that were in an unrealized loss position as of January 31, 2020 consisted of the following:
| Less than 12 Months |  |  |  | Greater than 12 Months |  |  |  | Total |  |
| Fair Value |  | Unrealized Losses |  | Fair Value |  | Unrealized Losses |  | Fair Value |  | Unrealized Losses
| (in thousands) |  |  |  |  |  |  |  |  |  |
U.S. government agency securities | $ | 28,149 |  |  | $ | (17) |  |  | $ | 20,121 |  |  | $ | (6) |  |  | $ | 48,270 |  |  | $ | (23) |
Corporate debt securities | 6,288 |  |  | (4) |  |  | 1,000 |  |  | (1) |  |  | 7,288 |  |  | (5) |
Total | $ | 34,437 |  |  | $ | (21) |  |  | $ | 21,121 |  |  | $ | (7) |  |  | $ | 55,558 |  |  | $ | (28) |
Unrealized losses of the above securities were primarily attributable to changes in interest rates. Short-term investments that were in an unrealized loss position as of July 31, 2019 consisted of the following:
| Less than 12 Months |  |  |  | Greater than 12 Months |  |  |  | Total |  |
| Fair Value |  | Unrealized Losses |  | Fair Value |  | Unrealized Losses |  | Fair Value |  | Unrealized Losses
| (in thousands) |  |  |  |  |  |  |  |  |  |
U.S. treasury securities | $ | 5,719 |  |  | $ | (9) |  |  | $ | — |  |  | $ | — |  |  | $ | 5,719 |  |  | $ | (9) |
U.S. government agency securities | 36,550 |  |  | (37) |  |  | 9,992 |  |  | (13) |  |  | 46,542 |  |  | (50) |
Corporate debt securities | 14,279 |  |  | (16) |  |  | 8,364 |  |  | (3) |  |  | 22,643 |  |  | (19) |
Total | $ | 56,548 |  |  | $ | (62) |  |  | $ | 18,356 |  |  | $ | (16) |  |  | $ | 74,904 |  |  | $ | (78) |

X
- References No definition available. + Details
Name: | us-gaap_CashAndCashEquivalentsAbstract
Namespace Prefix: | us-gaap_
Data Type: | xbrli:stringItemType
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
- Definition Tabular disclosure of the components of cash, cash equivalents, and investments. + References No definition available. + Details
Name: | us-gaap_ScheduleOfCashCashEquivalentsAndShortTermInvestmentsTableTextBlock
Namespace Prefix: | us-gaap_
Data Type: | nonnum:textBlockItemType
Balance Type: | na
Period Type: | duration

X
- Definition For all investments in an unrealized loss position, including those for which other-than-temporary impairments have not been recognized in earnings (including investments for which a portion of an other-than-temporary impairment has been recognized in other comprehensive income), a tabular disclosure of the aggregate related fair value of investments with unrealized losses and the aggregate amount of unrealized losses (that is, the amount by which amortized cost basis exceeds fair value). + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 320 -SubTopic 10 -Section 50 -Paragraph 6 -URI http://asc.fasb.org/extlink&oid=118939692&loc=d3e27290-111563 + Details
Name: | us-gaap_ScheduleOfUnrealizedLossOnInvestmentsTableTextBlock
Namespace Prefix: | us-gaap_
Data Type: | nonnum:textBlockItemType
Balance Type: | na
Period Type: | duration