Quarterly report pursuant to Section 13 or 15(d)

Stockholders' Equity (Options Outstanding, Range of Exercise Prices and Other Details) (Details)

v3.8.0.1
Stockholders' Equity (Options Outstanding, Range of Exercise Prices and Other Details) (Details) - $ / shares
9 Months Ended
Mar. 31, 2018
Jun. 30, 2017
Share-based Compensation, Shares Authorized under Stock Option Plans, Exercise Price Range [Line Items]    
Stock options outstanding, Number of Shares Outstanding (shares) 853,015 741,327
Stock options outstanding, Weighted Average Remaining Contractual Life 7 years 4 months 3 days  
Stock options outstanding, Weighted Average Exercise Price (in dollars per share) $ 17.80 $ 17.89
Stock options exercisable, Number of Shares Exercisable (shares) 419,014  
Stock options exercisable, Weighted Average Remaining Contractual Life 6 years 2 months 28 days  
Stock options exercisable, Weighted Average Exercise Price (in dollars per share) $ 14.70  
Price Range $0 - $10.00    
Share-based Compensation, Shares Authorized under Stock Option Plans, Exercise Price Range [Line Items]    
Exercise Price Ranges, lower range limit (in dollars per share) 0  
Exercise Price Ranges, upper range limit (in dollars per share) $ 10  
Stock options outstanding, Number of Shares Outstanding (shares) 134,239  
Stock options outstanding, Weighted Average Remaining Contractual Life 4 years 7 months 7 days  
Stock options outstanding, Weighted Average Exercise Price (in dollars per share) $ 8.39  
Stock options exercisable, Number of Shares Exercisable (shares) 134,239  
Stock options exercisable, Weighted Average Remaining Contractual Life 4 years 7 months 7 days  
Stock options exercisable, Weighted Average Exercise Price (in dollars per share) $ 8.39  
Price Range $10.01 - $15.00    
Share-based Compensation, Shares Authorized under Stock Option Plans, Exercise Price Range [Line Items]    
Exercise Price Ranges, lower range limit (in dollars per share) 10.01  
Exercise Price Ranges, upper range limit (in dollars per share) $ 15  
Stock options outstanding, Number of Shares Outstanding (shares) 98,888  
Stock options outstanding, Weighted Average Remaining Contractual Life 4 years 6 months 12 days  
Stock options outstanding, Weighted Average Exercise Price (in dollars per share) $ 11.94  
Stock options exercisable, Number of Shares Exercisable (shares) 98,888  
Stock options exercisable, Weighted Average Remaining Contractual Life 4 years 6 months 12 days  
Stock options exercisable, Weighted Average Exercise Price (in dollars per share) $ 11.94  
Price Range $15.01 - $25.00    
Share-based Compensation, Shares Authorized under Stock Option Plans, Exercise Price Range [Line Items]    
Exercise Price Ranges, lower range limit (in dollars per share) 15.01  
Exercise Price Ranges, upper range limit (in dollars per share) $ 25  
Stock options outstanding, Number of Shares Outstanding (shares) 519,888  
Stock options outstanding, Weighted Average Remaining Contractual Life 8 years 5 months 21 days  
Stock options outstanding, Weighted Average Exercise Price (in dollars per share) $ 19.86  
Stock options exercisable, Number of Shares Exercisable (shares) 160,887  
Stock options exercisable, Weighted Average Remaining Contractual Life 8 years 4 months 28 days  
Stock options exercisable, Weighted Average Exercise Price (in dollars per share) $ 19.99  
Price Range $25.01 - 60.00    
Share-based Compensation, Shares Authorized under Stock Option Plans, Exercise Price Range [Line Items]    
Exercise Price Ranges, lower range limit (in dollars per share) 25.01  
Exercise Price Ranges, upper range limit (in dollars per share) $ 60  
Stock options outstanding, Number of Shares Outstanding (shares) 100,000  
Stock options outstanding, Weighted Average Remaining Contractual Life 7 years 10 months 23 days  
Stock options outstanding, Weighted Average Exercise Price (in dollars per share) $ 25.50  
Stock options exercisable, Number of Shares Exercisable (shares) 25,000  
Stock options exercisable, Weighted Average Remaining Contractual Life 7 years 10 months 23 days  
Stock options exercisable, Weighted Average Exercise Price (in dollars per share) $ 25.50