v3.22.4
Noncontrolling interests (Details) - USD ($)
$ in Thousands
3 Months Ended 6 Months Ended
Dec. 31, 2022
Dec. 31, 2021
Dec. 31, 2022
Dec. 31, 2021
Jun. 30, 2022
Noncontrolling Interest [Line Items]          
Stockholders' Equity Attributable to Noncontrolling Interest $ 12,565   $ 12,565   $ 131,483
Net Income (Loss) Attributable to Noncontrolling Interest $ 1,460 $ 1,364 2,160 $ 3,102  
Noncontrolling Interest, Decrease from Distributions to Noncontrolling Interest Holders     3,652    
Purchase of noncontrolling interest (2)   $ (272) (95,567)    
Decrease to Temporary Equity for Noncontrolling Interest Redemption Feature Change     (9,582)    
Other Comprehensive (Income) Loss, Foreign Currency Translation Adjustment, Tax, Portion Attributable to Noncontrolling Interest     (4,822)    
Redeemable noncontrolling interest [Member]          
Noncontrolling Interest [Line Items]          
Temporary Equity, Accretion to Redemption Value, Adjustment     (7,455)    
PrintBrothers [Member]          
Noncontrolling Interest [Line Items]          
Purchase of noncontrolling interest (2)     $ 90,841    
Minimum [Member]          
Noncontrolling Interest [Line Items]          
Noncontrolling Interest, Decrease in Ownership Percentage     10.00%    
Maximum [Member]          
Noncontrolling Interest [Line Items]          
Noncontrolling Interest, Decrease in Ownership Percentage     11.00%