v3.5.0.1

Fair Value of Financial Assets and Liabilities - Summary of Fair Value of Financial Assets and Liabilities (Details) - USD ($) $ in Thousands | Apr. 30, 2016 | Apr. 30, 2015
--- | --- | ---
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items] |  |
Cash equivalents: | $ 43,963 | $ 54,041
Short-term investments: | 50,682 | 52,730
Fair value, measurements, recurring |  |
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items] |  |
Cash equivalents: | 5,271 | 4,064
Short-term investments: | 50,682 | 52,730
Total assets | 55,953 | 56,794
Fair value, measurements, recurring | Fair value, inputs, level 1 |  |
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items] |  |
Cash equivalents: | 922 | 2,831
Short-term investments: | 33,600 | 28,808
Total assets | 34,522 | 31,639
Fair value, measurements, recurring | Fair value, inputs, level 2 |  |
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items] |  |
Cash equivalents: | 4,349 | 1,233
Short-term investments: | 17,082 | 23,922
Total assets | 21,431 | 25,155
Fair value, measurements, recurring | Fair value, inputs, level 3 |  |
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items] |  |
Cash equivalents: | 0 | 0
Short-term investments: | 0 | 0
Total assets | 0 | 0
Certificates of deposit | Fair value, measurements, recurring |  |
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items] |  |
Short-term investments: | 7,089 | 4,004
Certificates of deposit | Fair value, measurements, recurring | Fair value, inputs, level 1 |  |
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items] |  |
Short-term investments: | 0 | 0
Certificates of deposit | Fair value, measurements, recurring | Fair value, inputs, level 2 |  |
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items] |  |
Short-term investments: | 7,089 | 4,004
Certificates of deposit | Fair value, measurements, recurring | Fair value, inputs, level 3 |  |
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items] |  |
Short-term investments: | 0 | 0
Municipal bonds |  |
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items] |  |
Cash equivalents: | 0 | 102
Municipal bonds | Fair value, measurements, recurring |  |
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items] |  |
Cash equivalents: | 0 | 102
Short-term investments: | 0 | 4,565
Municipal bonds | Fair value, measurements, recurring | Fair value, inputs, level 1 |  |
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items] |  |
Cash equivalents: | 0 | 0
Short-term investments: | 0 | 0
Municipal bonds | Fair value, measurements, recurring | Fair value, inputs, level 2 |  |
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items] |  |
Cash equivalents: | 0 | 102
Short-term investments: | 0 | 4,565
Municipal bonds | Fair value, measurements, recurring | Fair value, inputs, level 3 |  |
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items] |  |
Cash equivalents: | 0 | 0
Short-term investments: | 0 | 0
Commercial paper | Fair value, measurements, recurring |  |
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items] |  |
Cash equivalents: | 4,349 | 875
Short-term investments: | 4,043 | 6,273
Commercial paper | Fair value, measurements, recurring | Fair value, inputs, level 1 |  |
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items] |  |
Cash equivalents: | 0 | 0
Short-term investments: | 0 | 0
Commercial paper | Fair value, measurements, recurring | Fair value, inputs, level 2 |  |
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items] |  |
Cash equivalents: | 4,349 | 875
Short-term investments: | 4,043 | 6,273
Commercial paper | Fair value, measurements, recurring | Fair value, inputs, level 3 |  |
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items] |  |
Cash equivalents: | 0 | 0
Short-term investments: | 0 | 0
U.S. Treasury securities | Fair value, measurements, recurring |  |
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items] |  |
Short-term investments: | 8,764 | 11,803
U.S. Treasury securities | Fair value, measurements, recurring | Fair value, inputs, level 1 |  |
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items] |  |
Short-term investments: | 8,764 | 11,803
U.S. Treasury securities | Fair value, measurements, recurring | Fair value, inputs, level 2 |  |
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items] |  |
Short-term investments: | 0 | 0
U.S. Treasury securities | Fair value, measurements, recurring | Fair value, inputs, level 3 |  |
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items] |  |
Short-term investments: | 0 | 0
US government agencies debt securities | Fair value, measurements, recurring |  |
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items] |  |
Short-term investments: | 24,836 | 17,005
US government agencies debt securities | Fair value, measurements, recurring | Fair value, inputs, level 1 |  |
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items] |  |
Short-term investments: | 24,836 | 17,005
US government agencies debt securities | Fair value, measurements, recurring | Fair value, inputs, level 2 |  |
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items] |  |
Short-term investments: | 0 | 0
US government agencies debt securities | Fair value, measurements, recurring | Fair value, inputs, level 3 |  |
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items] |  |
Short-term investments: | 0 | 0
Corporate debt securities |  |
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items] |  |
Cash equivalents: | 0 | 256
Corporate debt securities | Fair value, measurements, recurring |  |
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items] |  |
Cash equivalents: | 0 | 256
Short-term investments: | 5,950 | 9,080
Corporate debt securities | Fair value, measurements, recurring | Fair value, inputs, level 1 |  |
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items] |  |
Cash equivalents: | 0 | 0
Short-term investments: | 0 | 0
Corporate debt securities | Fair value, measurements, recurring | Fair value, inputs, level 2 |  |
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items] |  |
Cash equivalents: | 0 | 256
Short-term investments: | 5,950 | 9,080
Corporate debt securities | Fair value, measurements, recurring | Fair value, inputs, level 3 |  |
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items] |  |
Cash equivalents: | 0 | 0
Short-term investments: | 0 | 0
Money market funds | Fair value, measurements, recurring |  |
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items] |  |
Cash equivalents: | 922 | 2,831
Money market funds | Fair value, measurements, recurring | Fair value, inputs, level 1 |  |
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items] |  |
Cash equivalents: | 922 | 2,831
Money market funds | Fair value, measurements, recurring | Fair value, inputs, level 2 |  |
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items] |  |
Cash equivalents: | 0 | 0
Money market funds | Fair value, measurements, recurring | Fair value, inputs, level 3 |  |
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items] |  |
Cash equivalents: | $ 0 | $ 0

X
- Definition Fair value portion of probable future economic benefits obtained or controlled by an entity as a result of past transactions or events. + References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 820 -SubTopic 10 -Section 50 -Paragraph 2 -Subparagraph (a) -URI http://asc.fasb.org/extlink&oid=66048111&loc=d3e19207-110258 + Details
Name: | us-gaap_AssetsFairValueDisclosure
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Fair value portion of currency on hand as well as demand deposits with banks or financial institutions. Includes other kinds of accounts that have the general characteristics of demand deposits. Also includes short-term, highly liquid investments that are both readily convertible to known amounts of cash and so near their maturity that they present insignificant risk of changes in value because of changes in interest rates. + References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Glossary Cash -URI http://asc.fasb.org/extlink&oid=6506951 Reference 2: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Glossary Cash Equivalents -URI http://asc.fasb.org/extlink&oid=6507016 + Details
Name: | us-gaap_CashAndCashEquivalentsFairValueDisclosure
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Line items represent financial concepts included in a table. These concepts are used to disclose reportable information associated with domain members defined in one or many axes to the table. + References No definition available. + Details
Name: | us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItems
Namespace Prefix: | us-gaap_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition Amount of investments including trading securities, available-for-sale securities, held-to-maturity securities, and short-term investments classified as other and current. + References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 210 -SubTopic 10 -Section S99 -Paragraph 1 -Subparagraph (SX 210.5-02(2)) -URI http://asc.fasb.org/extlink&oid=6877327&loc=d3e13212-122682 Reference 2: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 944 -SubTopic 210 -Section S99 -Paragraph 1 -Subparagraph (SX 210.7-03(a)(1)(g)) -URI http://asc.fasb.org/extlink&oid=6879938&loc=d3e572229-122910 Reference 3: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 942 -SubTopic 210 -Section S99 -Paragraph 1 -Subparagraph (SX 210.9-03(5)) -URI http://asc.fasb.org/extlink&oid=6876686&loc=d3e534808-122878 Reference 4: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 942 -SubTopic 210 -Section S99 -Paragraph 1 -Subparagraph (SX 210.9-03(6)) -URI http://asc.fasb.org/extlink&oid=6876686&loc=d3e534808-122878 Reference 5: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 942 -SubTopic 210 -Section S99 -Paragraph 1 -Subparagraph (SX 210.9-03(4)) -URI http://asc.fasb.org/extlink&oid=6876686&loc=d3e534808-122878 + Details
Name: | us-gaap_ShortTermInvestments
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Details
Name: | us-gaap_FairValueByMeasurementFrequencyAxis=us-gaap_FairValueMeasurementsRecurringMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_FairValueByFairValueHierarchyLevelAxis=us-gaap_FairValueInputsLevel1Member
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_FairValueByFairValueHierarchyLevelAxis=us-gaap_FairValueInputsLevel2Member
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_FairValueByFairValueHierarchyLevelAxis=us-gaap_FairValueInputsLevel3Member
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_InvestmentTypeAxis=us-gaap_CertificatesOfDepositMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_InvestmentTypeAxis=us-gaap_MunicipalBondsMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_InvestmentTypeAxis=us-gaap_CommercialPaperMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_InvestmentTypeAxis=us-gaap_USTreasurySecuritiesMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_InvestmentTypeAxis=us-gaap_USGovernmentAgenciesDebtSecuritiesMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_InvestmentTypeAxis=us-gaap_CorporateDebtSecuritiesMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_FairValueByAssetClassAxis=us-gaap_MoneyMarketFundsMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |