v3.22.2.2
Calculation of Net (Loss) Income Used to Calculate Basic and Diluted (Loss) Per Share (Detail) - USD ($)
$ in Thousands
12 Months Ended
Jun. 30, 2022
Jun. 30, 2021
Jun. 30, 2020
Potentially Dilutive Securities Outstanding [Line Items]      
Net loss—basic $ (54,454) $ (41,314) $ (47,173)
Change in fair value of warrant liability (8,046) (27,394)  
Net loss—diluted $ (62,500) $ (68,708) $ (47,173)