v3.3.1.900

Fair Value of Financial Assets and Liabilities - Summary of Short-Term Investments (Details) - USD ($) | 9 Months Ended |
--- | --- | ---
Jan. 31, 2016 | Jan. 31, 2015 | Apr. 30, 2015
Schedule of Available-for-Sale Securities [Line Items] |  |  |
Cost | $ 51,033,000 |  | $ 52,758,000
Gross Unrealized Gains | 0 |  | 30,000
Gross Unrealized Losses | (58,000) |  | (58,000)
Fair Value | 50,975,000 |  | 52,730,000
Impairment Charges | 0 | $ 0 |
Certificates of deposit |  |  |
Schedule of Available-for-Sale Securities [Line Items] |  |  |
Cost | 7,810,000 |  | 4,000,000
Gross Unrealized Gains | 0 |  | 4,000
Gross Unrealized Losses | (1,000) |  | 0
Fair Value | 7,809,000 |  | 4,004,000
Municipal debt securities |  |  |
Schedule of Available-for-Sale Securities [Line Items] |  |  |
Cost | 391,000 |  | 4,564,000
Gross Unrealized Gains | 0 |  | 17,000
Gross Unrealized Losses | 0 |  | (16,000)
Fair Value | 391,000 |  | 4,565,000
Commercial paper |  |  |
Schedule of Available-for-Sale Securities [Line Items] |  |  |
Cost | 3,442,000 |  | 6,269,000
Gross Unrealized Gains | 0 |  | 4,000
Gross Unrealized Losses | 0 |  | 0
Fair Value | 3,442,000 |  | 6,273,000
U.S. Treasury securities |  |  |
Schedule of Available-for-Sale Securities [Line Items] |  |  |
Cost | 8,769,000 |  | 11,814,000
Gross Unrealized Gains | 0 |  | 0
Gross Unrealized Losses | (8,000) |  | (11,000)
Fair Value | 8,761,000 |  | 11,803,000
US government agencies debt securities |  |  |
Schedule of Available-for-Sale Securities [Line Items] |  |  |
Cost | 25,078,000 |  | 17,007,000
Gross Unrealized Gains | 0 |  | 1,000
Gross Unrealized Losses | (35,000) |  | (3,000)
Fair Value | 25,043,000 |  | 17,005,000
Corporate debt securities |  |  |
Schedule of Available-for-Sale Securities [Line Items] |  |  |
Cost | 5,543,000 |  | 9,104,000
Gross Unrealized Gains | 0 |  | 4,000
Gross Unrealized Losses | (14,000) |  | (28,000)
Fair Value | $ 5,529,000 |  | $ 9,080,000

X
- Definition This item represents the cost of debt securities, which are categorized neither as held-to-maturity nor trading, net of adjustments including accretion, amortization, collection of cash, previous other-than-temporary impairments recognized in earnings (less any cumulative-effect adjustments recognized, as defined), and fair value hedge accounting adjustments, if any. + References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 320 -SubTopic 10 -Section 50 -Paragraph 2 -Subparagraph (aa) -URI http://asc.fasb.org/extlink&oid=27724398&loc=d3e27161-111563 Reference 2: 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 + Details
Name: | us-gaap_AvailableForSaleDebtSecuritiesAmortizedCostBasis
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Amount of investment in debt and equity securities categorized neither as held-to-maturity nor trading. + References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 320 -SubTopic 10 -Section 25 -Paragraph 1 -Subparagraph (b) -URI http://asc.fasb.org/extlink&oid=28360136&loc=d3e22054-111558 Reference 2: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 320 -SubTopic 10 -Section 50 -Paragraph 5 -Subparagraph (aa) -URI http://asc.fasb.org/extlink&oid=27724398&loc=d3e27232-111563 Reference 3: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 320 -SubTopic 10 -Section 45 -Paragraph 1 -URI http://asc.fasb.org/extlink&oid=6871852&loc=d3e26610-111562 + Details
Name: | us-gaap_AvailableForSaleSecurities
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Amount before tax of unrealized gain in accumulated other comprehensive income (AOCI) on investments in debt and equity securities classified as available-for-sale. + References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 320 -SubTopic 10 -Section 50 -Paragraph 2 -Subparagraph (b) -URI http://asc.fasb.org/extlink&oid=27724398&loc=d3e27161-111563 + Details
Name: | us-gaap_AvailableForSaleSecuritiesAccumulatedGrossUnrealizedGainBeforeTax
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Amount before tax of unrealized loss in accumulated other comprehensive income (AOCI) on investments in debt and equity securities classified as available-for-sale. + References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 320 -SubTopic 10 -Section 50 -Paragraph 2 -Subparagraph (c) -URI http://asc.fasb.org/extlink&oid=27724398&loc=d3e27161-111563 + Details
Name: | us-gaap_AvailableForSaleSecuritiesAccumulatedGrossUnrealizedLossBeforeTax
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition The amount by which the fair value of an investment in debt and equity securities categorized as Available-for-sale is less than the amortized cost basis or carrying amount of that investment at the balance sheet date and the decline in fair value is deemed to be other than temporary, before considering whether or not such amount is recognized in earnings or other comprehensive income. + References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 320 -SubTopic 10 -Section 50 -Paragraph 2 -URI http://asc.fasb.org/extlink&oid=27724398&loc=d3e27161-111563 + Details
Name: | us-gaap_OtherThanTemporaryImpairmentLossesInvestmentsAvailableforsaleSecurities
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

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_ScheduleOfAvailableForSaleSecuritiesLineItems
Namespace Prefix: | us-gaap_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

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: |