XML 107 R97.htm IDEA: XBRL DOCUMENT v3.22.1
DERIVATIVE INSTRUMENTS AND HEDGING ACTIVITIES - Fair Value in the Condensed Consolidated Balance Sheets (Details) - USD ($)
$ in Thousands
9 Months Ended
Mar. 31, 2022
Jun. 30, 2021
Foreign currency forward contracts    
Derivatives, Fair Value [Line Items]    
Notional amount of forward contracts held to sell U.S. dollars in exchange for Canadian dollars $ 67,000 $ 66,900
Prepaid expenses and other current assets | Cash Flow Hedging | Designated As Hedging Instrument | Foreign currency forward contracts    
Derivatives, Fair Value [Line Items]    
Derivative asset (liability), net $ 559 $ 1,131
Minimum    
Derivatives, Fair Value [Line Items]    
Contract maturity 1 month  
Maximum    
Derivatives, Fair Value [Line Items]    
Contract maturity 12 months