XML 52 R40.htm IDEA: XBRL DOCUMENT v3.22.1
Calculation of Net (Loss) Income Used to Calculate Basic and Diluted (Loss) Per Share (Detail) - USD ($)
$ in Thousands
12 Months Ended
Jun. 30, 2021
Jun. 30, 2020
Jun. 30, 2019
Potentially Dilutive Securities Outstanding [Line Items]      
Net loss—basic $ (41,314) $ (47,173) $ (16,819)
Change in fair value of warrant liability (27,394)   (37,794)
Net loss—diluted $ (68,708) $ (47,173) $ (54,613)