XML 39 R28.htm IDEA: XBRL DOCUMENT v3.8.0.1
Recent Accounting Pronouncements - Additional Information (Detail) - USD ($)
$ in Thousands
3 Months Ended 9 Months Ended
Mar. 31, 2018
Mar. 31, 2017
Mar. 31, 2018
Mar. 31, 2017
Jun. 30, 2017
New Accounting Pronouncements or Change in Accounting Principle [Line Items]          
Excess tax benefits $ 7 $ (232) $ (4,031) $ (4,029)  
Cost method investments $ 7,700   7,700   $ 7,700
Accounting Standards Update 2016-09 [Member]          
New Accounting Pronouncements or Change in Accounting Principle [Line Items]          
Excess tax benefits     $ 200    
Reclassification of excess tax benefits from financing to operating activities       $ 100  
Internal-Use Software Development [Member]          
New Accounting Pronouncements or Change in Accounting Principle [Line Items]          
Reclassification of asset from property and equipment to intangible assets         $ 29,100