v3.7.0.1

Income Taxes (Tables) | 12 Months Ended
--- | ---
Apr. 30, 2017
Income Tax Disclosure [Abstract] |
Components of Loss Before Income Tax | U.S. and international components of loss before income taxes were as follows (in thousands):
| Year Ended April 30,
| 2017 |  | 2016 |  | 2015
U.S. | $ | (17,072 | ) |  | $ | (27,239 | ) |  | $ | (35,174 | )
International | 1,684 |  |  | 1,938 |  |  | 2,064 |
Loss from operations before income taxes | $ | (15,388 | ) |  | $ | (25,301 | ) |  | $ | (33,110 | )
Income Tax Expense (Benefit) | Income tax expense is composed of the following (in thousands):
| Year Ended April 30,
| 2017 |  | 2016 |  | 2015
Current: |  |  |  |  |
Federal | $ | — |  |  | $ | — |  |  | $ | (38 | )
State | 39 |  |  | (77 | ) |  | 182 |
International | 619 |  |  | 556 |  |  | 951 |
Total | 658 |  |  | 479 |  |  | 1,095 |
Deferred: |  |  |  |  |
Federal | (4,363 | ) |  | (6,635 | ) |  | (12,491 | )
State | (386 | ) |  | (1,070 | ) |  | (2,308 | )
International | (108 | ) |  | (94 | ) |  | 44 |
Total | (4,857 | ) |  | (7,799 | ) |  | (14,755 | )
Change in valuation allowance | 4,752 |  |  | 7,358 |  |  | 13,714 |
Provision for income taxes | $ | 553 |  |  | $ | 38 |  |  | $ | 54 |
Schedule of Effective Income Tax Rate Reconciliation | The difference between the tax expense derived by applying the Federal statutory income tax rate to net losses and the expense recognized in the financial statements is as follows (in thousands):
| Year Ended April 30,
| 2017 |  | 2016 |  | 2015
U.S. federal taxes at statutory rate | $ | (5,232 | ) |  | $ | (8,603 | ) |  | $ | (11,257 | )
State tax provision | (256 | ) |  | (625 | ) |  | (923 | )
Foreign tax rate differentials | (95 | ) |  | (108 | ) |  | (206 | )
Research and development credit | (912 | ) |  | (1,473 | ) |  | (1,972 | )
Stock options | 2,348 |  |  | 3,480 |  |  | 506 |
Nondeductible legal expenses | — |  |  | — |  |  | 200 |
Permanent differences and other | 167 |  |  | — |  |  | (8 | )
Return to provision adjustments | (219 | ) |  | 9 |  |  | — |
Change in valuation allowance | 4,752 |  |  | 7,358 |  |  | 13,714 |
Provision for (benefit from) income taxes | $ | 553 |  |  | $ | 38 |  |  | $ | 54 |
Schedule of Deferred Tax Assets and Liabilities | Significant components of the Company’s deferred tax liabilities and assets as of April 30, 2017 and 2016 are as follows (in thousands):
|  | Year Ended April 30,
|  | 2017 |  | 2016
Deferred tax asset: |  |  |  |
Bad debts |  | $ | 466 |  |  | $ | 872 |
Other accruals |  | 2,363 |  |  | 1,138 |
Charitable contributions |  | 436 |  |  | 509 |
Stock options |  | 7,300 |  |  | 5,832 |
State tax credit |  | 2,633 |  |  | 2,347 |
Net operating losses |  | 66,431 |  |  | 64,998 |
Research and development credit |  | 6,869 |  |  | 6,290 |
Deferred rent |  | 2,333 |  |  | 2,513 |
Deferred revenue |  | 810 |  |  | 1,969 |
Foreign tax credit |  | 128 |  |  | 128 |
Total deferred tax asset |  | 89,769 |  |  | 86,596 |
Less valuation allowance |  | (78,558 | ) |  | (73,806 | )
Net deferred tax assets |  | 11,211 |  |  | 12,790 |
Deferred tax liability: |  |  |  |
Amortization of intangible assets |  | (2,854 | ) |  | (3,564 | )
Depreciation |  | (6,628 | ) |  | (7,476 | )
Total deferred tax liability |  | (9,482 | ) |  | (11,040 | )
Total net deferred tax assets |  | $ | 1,729 |  |  | $ | 1,750 |
Schedule of Unrecognized Tax Benefits Roll Forward | The aggregate changes in the balance of unrecognized tax benefits were as follows (in thousands):
| Year Ended April 30,
| 2017 |  | 2016 |  | 2015
Unrecognized tax benefits as of May 1, | $ | 4,193 |  |  | $ | 3,619 |  |  | $ | 2,157 |
Tax positions taken in prior periods: |  |  |  |  |
Gross increases | — |  |  | 88 |  |  | 883 |
Gross decreases | (199 | ) |  | (42 | ) |  | — |
Tax positions taken in current period: |  |  |  |  |
Gross increases | 595 |  |  | 528 |  |  | 579 |
Lapse of statute of limitations | (68 | ) |  | — |  |  | — |
Balance as of April 30, | $ | 4,521 |  |  | $ | 4,193 |  |  | $ | 3,619 |

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

X
- Definition Tabular disclosure of the components of income tax expense attributable to continuing operations for each year presented including, but not limited to: current tax expense (benefit), deferred tax expense (benefit), investment tax credits, government grants, the benefits of operating loss carryforwards, tax expense that results from allocating certain tax benefits either directly to contributed capital or to reduce goodwill or other noncurrent intangible assets of an acquired entity, adjustments of a deferred tax liability or asset for enacted changes in tax laws or rates or a change in the tax status of the entity, and adjustments of the beginning-of-the-year balances of a valuation allowance because of a change in circumstances that causes a change in judgment about the realizability of the related deferred tax asset in future years. + References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 740 -SubTopic 10 -Section 50 -Paragraph 9 -URI http://asc.fasb.org/extlink&oid=65882285&loc=d3e32639-109319 + Details
Name: | us-gaap_ScheduleOfComponentsOfIncomeTaxExpenseBenefitTableTextBlock
Namespace Prefix: | us-gaap_
Data Type: | nonnum:textBlockItemType
Balance Type: | na
Period Type: | duration

X
- Definition Tabular disclosure of the components of net deferred tax asset or liability recognized in an entity's statement of financial position, including the following: the total of all deferred tax liabilities, the total of all deferred tax assets, the total valuation allowance recognized for deferred tax assets. + References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 740 -SubTopic 10 -Section 50 -Paragraph 2 -URI http://asc.fasb.org/extlink&oid=65882285&loc=d3e32537-109319 + Details
Name: | us-gaap_ScheduleOfDeferredTaxAssetsAndLiabilitiesTableTextBlock
Namespace Prefix: | us-gaap_
Data Type: | nonnum:textBlockItemType
Balance Type: | na
Period Type: | duration

X
- Definition Tabular disclosure of the reconciliation using percentage or dollar amounts of the reported amount of income tax expense attributable to continuing operations for the year to the amount of income tax expense that would result from applying domestic federal statutory tax rates to pretax income from continuing operations. + References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 740 -SubTopic 10 -Section 50 -Paragraph 12 -URI http://asc.fasb.org/extlink&oid=65882285&loc=d3e32687-109319 + Details
Name: | us-gaap_ScheduleOfEffectiveIncomeTaxRateReconciliationTableTextBlock
Namespace Prefix: | us-gaap_
Data Type: | nonnum:textBlockItemType
Balance Type: | na
Period Type: | duration

X
- Definition Tabular disclosure of income before income tax between domestic and foreign jurisdictions. + References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 235 -SubTopic 10 -Section S99 -Paragraph 1 -Subparagraph (SX 210.4-08.(h)(1)(i)) -URI http://asc.fasb.org/extlink&oid=26873400&loc=d3e23780-122690 + Details
Name: | us-gaap_ScheduleOfIncomeBeforeIncomeTaxDomesticAndForeignTableTextBlock
Namespace Prefix: | us-gaap_
Data Type: | nonnum:textBlockItemType
Balance Type: | na
Period Type: | duration

X
- Definition Tabular disclosure of the change in unrecognized tax benefits. + References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 740 -SubTopic 10 -Section 55 -Paragraph 217 -URI http://asc.fasb.org/extlink&oid=75116239&loc=d3e36027-109320 Reference 2: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 740 -SubTopic 10 -Section 50 -Paragraph 15A -URI http://asc.fasb.org/extlink&oid=65882285&loc=SL6600010-109319 + Details
Name: | us-gaap_ScheduleOfUnrecognizedTaxBenefitsRollForwardTableTextBlock
Namespace Prefix: | us-gaap_
Data Type: | nonnum:textBlockItemType
Balance Type: | na
Period Type: | duration