| Derivative Instruments and Hedging Transactions - Additional Information (Details) - USD ($) $ in Thousands | 3 Months Ended | |
|---|---|---|
| Sep. 30, 2022 | Sep. 30, 2021 | |
| Derivative [Line Items] | ||
| Derivative open positions expected settlement period | 2 days | |
| Unrealized gains (losses) on foreign exchange | $ 214 | $ (224) | 
| Future contracts | ||
| Derivative [Line Items] | ||
| Derivative open positions expected settlement period | 30 days | |
| Maximum | Forward contracts | ||
| Derivative [Line Items] | ||
| Derivative open positions expected settlement period | 6 months | |
| 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 
 | 
| X | ||||||||||
| 
- Details 
 | 
| X | ||||||||||
| 
- Details 
 |