XML 31 R21.htm IDEA: XBRL DOCUMENT
v3.7.0.1

Cash Equivalents and Short-term Investments (Tables) | 3 Months Ended
--- | ---
Apr. 30, 2017
Investments, Debt and Equity Securities [Abstract] |
Schedule of Amortized Costs, Unrealized Gains and Losses and Estimated Fair Value of Cash Equivalents and Short-term Investments | The amortized costs, unrealized gains and losses and estimated fair values of the Company’s cash equivalents and short-term investments as of April 30, 2017 and January 31, 2017 were as follows (in thousands):
| As of April 30, 2017
| (unaudited)
| Amortized Cost |  | Unrealized Gain |  | Unrealized Loss |  | Estimated Fair Value
Cash equivalents: |  |  |  |  |  |  |
Money market funds | $ | 217,651 |  |  | $ | — |  |  | $ | — |  |  | $ | 217,651 |
Investments: |  |  |  |  |  |  |  |  |  |  |
Corporate debt securities | 2,500 |  |  | — |  |  | — |  |  | 2,500 |
Total short-term investments | $ | 2,500 |  |  | $ | — |  |  | $ | — |  |  | $ | 2,500 |
Total | $ | 220,151 |  |  | $ | — |  |  | $ | — |  |  | $ | 220,151 |
| As of January 31, 2017
| Amortized Cost |  | Unrealized Gain |  | Unrealized Loss |  | Estimated Fair Value
Cash equivalents: |  |  |  |  |  |  |
Money market funds | $ | 10,565 |  |  | $ | — |  |  | $ | — |  |  | $ | 10,565 |
Investments: |  |  |  |  |  |  |  |  |  |
Asset-backed securities | 1,538 |  |  | — |  |  | — |  |  | 1,538 |
Corporate debt securities | 12,842 |  |  | 13 |  |  | (3 | ) |  | 12,852 |
Total short-term investments | $ | 14,380 |  |  | $ | 13 |  |  | $ | (3 | ) |  | $ | 14,390 |
Total | $ | 24,945 |  |  | $ | 13 |  |  | $ | (3 | ) |  | $ | 24,955 |
Schedule of Contractual Maturities of Short-term Investments | The following tables present the contractual maturities of the Company’s short-term investments as of April 30, 2017 and January 31, 2017 (in thousands):
| As of April 30, 2017
| (unaudited)
| Amortized Cost |  | Estimated Fair Value
Due within one year | $ | 2,500 |  |  | $ | 2,500 |
Due between one to five years | — |  |  | — |
| $ | 2,500 |  |  | $ | 2,500 |
| As of January 31, 2017
| Amortized Cost |  | Estimated Fair Value
Due within one year | $ | 12,842 |  |  | $ | 12,852 |
Due between one to five years | 1,538 |  |  | 1,538 |
| $ | 14,380 |  |  | $ | 14,390 |

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

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