XML 50 R40.htm IDEA: XBRL DOCUMENT v3.8.0.1
Income Taxes - Additional Information (Detail) - USD ($)
$ in Thousands
3 Months Ended 6 Months Ended
Dec. 31, 2017
Dec. 31, 2016
Dec. 31, 2017
Dec. 31, 2016
Income Tax Disclosure [Abstract]        
Federal statutory rate, blended rate for next fiscal year 28.00%   28.00%  
Federal statutory rate in periods subsequent to next fiscal year 21.00%   21.00%  
Deferred tax assets, effect of Tax Cuts and Jobs Act, tax expense (benefit)     $ 1,286  
Provisional tax expense for foreign tax credits $ 415      
Income tax (benefit) expense 1,335 $ 1,779 (7,046) $ 520
(Loss) income from operations before income taxes 10,468 6,983 20,040 9,543
Excess tax benefits on stock-based compensation $ 294 $ 634 7,579 $ 2,817
Operating loss carryforward, increase in carrying value     $ 3,716