Income Taxes - Provision for Income Tax Expense by Jurisdiction and Effective Tax Rate (Details) - USD ($) $ in Thousands  | 
3 Months Ended | 9 Months Ended | ||
|---|---|---|---|---|
Mar. 31, 2020  | 
Mar. 31, 2019  | 
Mar. 31, 2020  | 
Mar. 31, 2019  | 
|
| Current: | ||||
| Federal | $ 1,534 | $ 338 | $ 1,972 | $ 959 | 
| State and local | 279 | 61 | 376 | 177 | 
| Foreign | 1 | 3 | 3 | 7 | 
| Income tax expense | $ 1,814 | $ 402 | $ 2,351 | $ 1,143 | 
| Effective tax rate | 13.50% | 29.50% | 15.20% | 27.00% | 
| X | ||||||||||
- References No definition available. 
  | 
| X | ||||||||||
- Definition Amount of current federal tax expense (benefit) pertaining to income (loss) from continuing operations. Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef 
  | 
| X | ||||||||||
- Definition Amount of current foreign income tax expense (benefit) pertaining to income (loss) from continuing operations. Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef 
  | 
| X | ||||||||||
- Definition Amount of current state and local tax expense (benefit) pertaining to income (loss) from continuing operations. Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef 
  | 
| X | ||||||||||
- Definition Percentage of current income tax expense (benefit) and deferred income tax expense (benefit) pertaining to continuing operations. Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef 
  | 
| X | ||||||||||
- Definition Amount of current income tax expense (benefit) and deferred income tax expense (benefit) pertaining to continuing operations. Reference 1: http://www.xbrl.org/2003/role/disclosureRef 
  |