Derivative Instruments and Hedging Transactions - Additional Information (Details) - USD ($)  | 
3 Months Ended | 9 Months Ended | ||
|---|---|---|---|---|
Mar. 31, 2021  | 
Mar. 31, 2020  | 
Mar. 31, 2021  | 
Mar. 31, 2020  | 
|
| Derivative [Line Items] | ||||
| Derivative open positions expected settlement period | 2 days | |||
| Unrealized losses on foreign exchange | $ 53,000 | $ 45,000 | $ 131,000 | $ 42,000 | 
| Futures And Forward Contract | ||||
| Derivative [Line Items] | ||||
| Derivative open positions expected settlement period | 30 days | |||
| X | ||||||||||
- Definition Derivative Open Position Expected Settlement Period No definition available. 
  | 
| X | ||||||||||
- Definition Line items represent financial concepts included in a table. These concepts are used to disclose reportable information associated with domain members defined in one or many axes to the table. No definition available. 
  | 
| X | ||||||||||
- Definition Amount before tax of foreign currency transaction unrealized gain (loss) recognized in the income statement. Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef 
  | 
| X | ||||||||||
- Details 
  |