XML 58 R43.htm IDEA: XBRL DOCUMENT v3.19.1
Income Taxes - Additional Information (Detail) - USD ($)
$ in Thousands
3 Months Ended 9 Months Ended
Mar. 31, 2019
Mar. 31, 2018
Mar. 31, 2019
Mar. 31, 2018
Income Tax Disclosure [Abstract]        
Income tax (benefit) expense $ 5,357 $ 2,209 $ 12,969 $ (4,837)
(Loss) income from operations before income taxes 19,466 5,905 46,940 25,945
Excess tax benefits on stock-based compensation $ 143 $ 96 1,858 $ 7,675
Deferred tax assets, effect of Tax Cuts and Jobs Act, tax expense (benefit)     $ 1,711