XML 51 R41.htm IDEA: XBRL DOCUMENT v3.8.0.1
Income Taxes - Additional Information (Detail) - USD ($)
$ in Thousands
3 Months Ended 9 Months Ended
Mar. 31, 2018
Mar. 31, 2017
Mar. 31, 2018
Mar. 31, 2017
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)     $ 905  
Provisional tax expense for foreign tax credits $ 415      
Income tax (benefit) expense 2,209 $ 3,170 (4,837) $ 3,690
(Loss) income from operations before income taxes 5,905 10,218 25,945 19,761
Excess tax benefits on stock-based compensation $ 96 $ 184 7,675 $ 3,001
Operating loss carryforward, increase in carrying value     $ 3,716