Debt (Details)
$ in Thousands
1 Months Ended
Dec. 21, 2018
USD ($)
tranche
Jun. 30, 2020
USD ($)
Jun. 30, 2019
USD ($)
Mar. 31, 2021
USD ($)
Estimated future principal payments due        
2022       $ 37,500
2023       37,500
Total debt       $ 75,000
2018 Credit Facility        
Debt        
Maximum amount outstanding $ 75,000      
Number of tranche | tranche 3      
Borrowing $ 25,000 $ 25,000 $ 25,000  
Period for commencing monthly principal payments 36 months      
Amortization period 24 months      
Prepayment fee in first year 1.00%      
Prepayment fee in second year 0.50%      
Prepayment fee in third year 0.25%      
Issuance costs $ 800      
Debt default interest rate addition (as a percent) 4.00      
2018 Credit Facility | One-month U.S. LIBOR        
Debt        
Variable interest rate 5.50%      
Principal Amount To Be Funded Per Tranche | Term loan        
Debt        
Principal amount of each tranche of term loans $ 25,000