v3.8.0.1

Fair Value of Financial Assets and Liabilities | 6 Months Ended
--- | ---
Oct. 31, 2017
Fair Value Disclosures [Abstract] |
Fair Value of Financial Assets and Liabilities | Fair Value of Financial Assets and Liabilities The following table summarizes the Company’s cash and cash equivalents as of October 31, 2017 and April 30, 2017 (in thousands):
| October 31, 2017 |  | April 30, 2017
Demand deposit accounts | $ | 50,211 |  |  | $ | 46,164 |
Money market funds | 178 |  |  | 3,532 |
Commercial paper | 1,399 |  |  | 2,798 |
U.S. government agency debt securities | 200 |  |  | — |
Total cash and cash equivalents | $ | 51,988 |  |  | $ | 52,494 |
The following table summarizes the Company’s short-term investments as of October 31, 2017 (in thousands):
| Cost |  | Gross Unrealized Gains |  | Gross Unrealized Losses |  | Fair Value
Available-for-sale securities: |  |  |  |  |  |  |
Certificates of deposit | $ | 2,410 |  |  | $ | — |  |  | $ | — |  |  | $ | 2,410 |
Commercial paper | 2,268 |  |  | — |  |  | — |  |  | 2,268 |
U.S. government agency debt securities | 5,248 |  |  | — |  |  | (6 | ) |  | 5,242 |
Corporate debt securities | 3,307 |  |  | — |  |  | (3 | ) |  | 3,304 |
Total short-term investments | $ | 13,233 |  |  | $ | — |  |  | $ | (9 | ) |  | $ | 13,224 |
The following table summarizes the Company’s short-term investments as of April 30, 2017 (in thousands):
| Cost |  | Gross Unrealized Gains |  | Gross Unrealized Losses |  | Fair Value
Available-for-sale securities: |  |  |  |  |  |  |
Certificates of deposit | $ | 1,930 |  |  | $ | — |  |  | $ | — |  |  | $ | 1,930 |
Commercial paper | 4,206 |  |  | — |  |  | — |  |  | 4,206 |
U.S. Treasury securities | 8,705 |  |  | — |  |  | (5 | ) |  | 8,700 |
U.S. government agency debt securities | 16,733 |  |  | — |  |  | (15 | ) |  | 16,718 |
Corporate debt securities | 7,144 |  |  | — |  |  | (9 | ) |  | 7,135 |
Total short-term investments | $ | 38,718 |  |  | $ | — |  |  | $ | (29 | ) |  | $ | 38,689 |
Realized and unrealized gains and losses on short-term investments were not material for the three and six months ended October 31, 2017 and 2016. An impairment charge is recorded in the consolidated statements of operations for declines in fair value below the cost of an individual investment that are deemed to be other-than-temporary. The Company assesses whether a decline in value is temporary based on the length of time that the fair market value has been below cost, the severity of the decline, as well as the intent and ability to hold, or plans to sell, the investment. There have been no impairment charges recognized related to short-term investments for the three and six months ended October 31, 2017 and 2016. Actual maturities may differ from contractual maturities because some borrowers have the right to call or prepay obligations with or without call or prepayment penalties. We may sell these securities at any time for use in current operations or for other purposes, such as consideration for acquisitions, even if they have not yet reached maturity. As a result, we classify our investments, including securities with maturities beyond twelve months as current assets in the accompanying condensed consolidated balance sheets. All of the Company's available-for-sale securities had contractual maturity dates of less than one year from October 31, 2017, as of the balance sheet date. The following table summarizes the fair value of the Company’s financial assets and liabilities that were measured on a recurring basis as of October 31, 2017 and April 30, 2017 (in thousands):
| Fair Value Measurements at October 31, 2017 |  | Fair Value Measurements at April 30, 2017
| Level 1 |  | Level 2 |  | Level 3 |  | Total |  | Level 1 |  | Level 2 |  | Level 3 |  | Total
Assets: |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Cash equivalents: |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Money market funds | $ | 178 |  |  | $ | — |  |  | $ | — |  |  | $ | 178 |  |  | $ | 3,532 |  |  | $ | — |  |  | $ | — |  |  | $ | 3,532 |
Commercial paper | — |  |  | 1,399 |  |  | — |  |  | 1,399 |  |  | — |  |  | 2,798 |  |  | — |  |  | 2,798 |
U.S. government agency securities | 200 |  |  | — |  |  | — |  |  | 200 |  |  | — |  |  | — |  |  | — |  |  | — |
Total cash equivalents | 378 |  |  | 1,399 |  |  | — |  |  | 1,777 |  |  | 3,532 |  |  | 2,798 |  |  | — |  |  | 6,330 |
Short-term investments: |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Certificates of deposit | — |  |  | 2,410 |  |  | — |  |  | 2,410 |  |  | — |  |  | 1,930 |  |  | — |  |  | 1,930 |
Commercial paper | — |  |  | 2,268 |  |  | — |  |  | 2,268 |  |  | — |  |  | 4,206 |  |  | — |  |  | 4,206 |
U.S. Treasury securities | — |  |  | — |  |  | — |  |  | — |  |  | 8,700 |  |  | — |  |  | — |  |  | 8,700 |
U.S. government agency securities | 5,242 |  |  | — |  |  | — |  |  | 5,242 |  |  | 16,718 |  |  | — |  |  | — |  |  | 16,718 |
Corporate debt securities | — |  |  | 3,304 |  |  | — |  |  | 3,304 |  |  | — |  |  | 7,135 |  |  | — |  |  | 7,135 |
Total short-term investments | 5,242 |  |  | 7,982 |  |  | — |  |  | 13,224 |  |  | 25,418 |  |  | 13,271 |  |  | — |  |  | 38,689 |
Total assets | $ | 5,620 |  |  | $ | 9,381 |  |  | $ | — |  |  | $ | 15,001 |  |  | $ | 28,950 |  |  | $ | 16,069 |  |  | $ | — |  |  | $ | 45,019 |
The Company measures certain assets, including property and equipment, goodwill and intangible assets, at fair value on a non-recurring basis. These assets are recognized at fair value when they are deemed to be impaired. The Company evaluates transfers between levels at the end of the fiscal year and assumes that any identified transfers are deemed to have occurred at the end of the reporting year. There were no transfers between levels in any of the periods presented.

X
- References No definition available. + Details
Name: | us-gaap_FairValueDisclosuresAbstract
Namespace Prefix: | us-gaap_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition The entire disclosure for the fair value of financial instruments (as defined), including financial assets and financial liabilities (collectively, as defined), and the measurements of those instruments as well as disclosures related to the fair value of non-financial assets and liabilities. Such disclosures about the financial instruments, assets, and liabilities would include: (1) the fair value of the required items together with their carrying amounts (as appropriate); (2) for items for which it is not practicable to estimate fair value, disclosure would include: (a) information pertinent to estimating fair value (including, carrying amount, effective interest rate, and maturity, and (b) the reasons why it is not practicable to estimate fair value; (3) significant concentrations of credit risk including: (a) information about the activity, region, or economic characteristics identifying a concentration, (b) the maximum amount of loss the entity is exposed to based on the gross fair value of the related item, (c) policy for requiring collateral or other security and information as to accessing such collateral or security, and (d) the nature and brief description of such collateral or security; (4) quantitative information about market risks and how such risks are managed; (5) for items measured on both a recurring and nonrecurring basis information regarding the inputs used to develop the fair value measurement; and (6) for items presented in the financial statement for which fair value measurement is elected: (a) information necessary to understand the reasons for the election, (b) discussion of the effect of fair value changes on earnings, (c) a description of [similar groups] items for which the election is made and the relation thereof to the balance sheet, the aggregate carrying value of items included in the balance sheet that are not eligible for the election; (7) all other required (as defined) and desired information. + References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 820 -SubTopic 10 -Section 50 -Paragraph 2 -URI http://asc.fasb.org/extlink&oid=66048111&loc=d3e19207-110258 Reference 2: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 825 -SubTopic 10 -Section 50 -Paragraph 30 -URI http://asc.fasb.org/extlink&oid=6957238&loc=d3e14172-108612 Reference 3: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 825 -SubTopic 10 -Section 50 -Paragraph 28 -URI http://asc.fasb.org/extlink&oid=6957238&loc=d3e14064-108612 Reference 4: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 825 -SubTopic 10 -Section 50 -Paragraph 21 -URI http://asc.fasb.org/extlink&oid=73719730&loc=d3e13537-108611 Reference 5: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 825 -SubTopic 10 -Section 50 -Paragraph 16 -URI http://asc.fasb.org/extlink&oid=73719730&loc=d3e13504-108611 Reference 6: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 825 -SubTopic 10 -Section 50 -Paragraph 10 -URI http://asc.fasb.org/extlink&oid=73719730&loc=d3e13433-108611 + Details
Name: | us-gaap_FairValueDisclosuresTextBlock
Namespace Prefix: | us-gaap_
Data Type: | nonnum:textBlockItemType
Balance Type: | na
Period Type: | duration