v3.22.2.2
Calculation of Weighted Average Shares Used to Calculate Basic and Diluted (Loss) Earnings Per Share (Detail) - shares
shares in Thousands
12 Months Ended
Jun. 30, 2022
Jun. 30, 2021
Jun. 30, 2020
Antidilutive Securities Excluded from Computation of Earnings Per Share [Line Items]      
Weighted average shares used in calculating net loss per share 124,473 112,527 91,080
Effect of potentially dilutive common shares from equity awards and liability-classified warrants 669 1,954  
Weighted Average Number of Shares Outstanding, Diluted, Total 125,142 114,481 91,080