Quarterly report pursuant to Section 13 or 15(d)

Stockholders' Equity - Summary of Status of Stock Option Outstanding (Details)

v3.22.1
Stockholders' Equity - Summary of Status of Stock Option Outstanding (Details) - $ / shares
9 Months Ended
Mar. 31, 2022
Jun. 30, 2021
Share-based Payment Arrangement, Option, Exercise Price Range [Line Items]    
Stock options outstanding, Number of Shares Outstanding (shares) 935,520 1,159,028
Stock options outstanding, Weighted Average Remaining Contractual Life 6 years 4 months 6 days  
Stock options outstanding, Weighted Average Exercise Price (in dollars per share) $ 15.25 $ 16.01
Stock options exercisable, Number of Shares Exercisable (shares) 527,198  
Stock options exercisable, Weighted Average Remaining Contractual Life 4 years 11 months 1 day  
Stock options exercisable, Weighted Average Exercise Price (in dollars per share) $ 13.20  
Price Range $0 - $10.00    
Share-based Payment Arrangement, Option, 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.00  
Stock options outstanding, Number of Shares Outstanding (shares) 438,597  
Stock options outstanding, Weighted Average Remaining Contractual Life 6 years 10 months 13 days  
Stock options outstanding, Weighted Average Exercise Price (in dollars per share) $ 5.70  
Stock options exercisable, Number of Shares Exercisable (shares) 214,276  
Stock options exercisable, Weighted Average Remaining Contractual Life 5 years 11 months 26 days  
Stock options exercisable, Weighted Average Exercise Price (in dollars per share) $ 6.31  
Price Range $10.01 - $15.00    
Share-based Payment Arrangement, Option, 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.00  
Stock options outstanding, Number of Shares Outstanding (shares) 110,923  
Stock options outstanding, Weighted Average Remaining Contractual Life 4 years 9 months 3 days  
Stock options outstanding, Weighted Average Exercise Price (in dollars per share) $ 13.69  
Stock options exercisable, Number of Shares Exercisable (shares) 102,589  
Stock options exercisable, Weighted Average Remaining Contractual Life 4 years 6 months 18 days  
Stock options exercisable, Weighted Average Exercise Price (in dollars per share) $ 13.96  
Price Range $15.01 - $25.00    
Share-based Payment Arrangement, Option, 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.00  
Stock options outstanding, Number of Shares Outstanding (shares) 231,667  
Stock options outstanding, Weighted Average Remaining Contractual Life 4 years 5 months 1 day  
Stock options outstanding, Weighted Average Exercise Price (in dollars per share) $ 19.68  
Stock options exercisable, Number of Shares Exercisable (shares) 205,000  
Stock options exercisable, Weighted Average Remaining Contractual Life 3 years 10 months 24 days  
Stock options exercisable, Weighted Average Exercise Price (in dollars per share) $ 19.55  
Price Range $25.01 - 60.00    
Share-based Payment Arrangement, Option, 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.00  
Stock options outstanding, Number of Shares Outstanding (shares) 154,333  
Stock options outstanding, Weighted Average Remaining Contractual Life 8 years 11 months 8 days  
Stock options outstanding, Weighted Average Exercise Price (in dollars per share) $ 36.88  
Stock options exercisable, Number of Shares Exercisable (shares) 5,333  
Stock options exercisable, Weighted Average Remaining Contractual Life 8 years 8 months 23 days  
Stock options exercisable, Weighted Average Exercise Price (in dollars per share) $ 31.55