v3.22.2.2
Stockholders' Equity - Additional Information (Detail) - USD ($)
$ / shares in Units, $ in Thousands
12 Months Ended
Jun. 30, 2022
Jun. 30, 2021
Jun. 30, 2020
Nov. 10, 2020
Nov. 08, 2017
Class of Stock [Line Items]          
Fair value of warrants $ 1,603 $ 22,355 $ 40,500    
Aggregate Value of Securities Available Under Agreement $ 123,400        
Total authorized share capital 226,100,000        
Common stock, shares authorized 226,000,000 226,000,000      
Common stock, par value $ 0.00000002 $ 0.00000002      
Preferred stock, shares authorized 100,000 100,000      
Preferred stock, par value $ 0.01 $ 0.01      
Preferred stock, shares issued 100,000        
Common stock voting rights one vote per share        
Preferred stock, shares outstanding 0 0      
Number Of Warrants Exercised 0 2,617      
Number Of Shares Issued On Warrant Exercise   964      
Common stock Value Issued $ 48,673 $ 3,136 69,231    
Proceeds from offering net of costs 52,325 3,200 72,962    
Payments of Stock Issuance Costs 3,652 64 3,731    
Unsold Securities Shares and Warrants Under Agreement 107,500        
Aggregate Value of Securities Available Under Agreement $ 123,400        
Warrants          
Class of Stock [Line Items]          
Exercise price $ 2.54        
Warrants outstanding 16,058,985        
ATM Sales Agreement          
Class of Stock [Line Items]          
Aggregate Value of Securities Available Under Agreement   $ 100 $ 400    
Common stock share issued   958,083 5,471,684    
Common stock Value Issued   $ 3,100 $ 20,700    
Aggregate Value of Securities Available Under Agreement   $ 100 $ 400    
Underwritten Registered Offering          
Class of Stock [Line Items]          
Common stock share issued 20,125,000   32,343,750    
Offering price per share $ 2.60   $ 1.60    
Proceeds from Issuance Initial Public Offering $ 48,700   $ 48,500    
Payments of Stock Issuance Costs 3,700   $ 3,300    
Maximum          
Class of Stock [Line Items]          
Sale of shares and warrants under agreement 200,000        
Maximum | ATM Sales Agreement          
Class of Stock [Line Items]          
Sale of shares under agreement         $ 30,000
Maximum | Two Thousand And Twenty At The Market Sale Agreement Member          
Class of Stock [Line Items]          
Sale of shares under agreement $ 60,000     $ 60,000