v3.7.0.1
Income Taxes - Income Tax Expense (Details) - USD ($)
$ in Thousands
3 Months Ended 12 Months Ended
Apr. 30, 2017
Jan. 31, 2017
Oct. 31, 2016
Jul. 31, 2016
Apr. 30, 2016
Jan. 31, 2016
Oct. 31, 2015
Jul. 31, 2015
Apr. 30, 2017
Apr. 30, 2016
Apr. 30, 2015
Current:                      
Federal                 $ 0 $ 0 $ (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 (benefit from) income taxes $ 203 $ 123 $ 92 $ 135 $ 165 $ (163) $ 124 $ (88) $ 553 $ 38 $ 54