Quarterly report pursuant to Section 13 or 15(d)

Subsequent Events - Additional Information (Details)

v3.22.2
Subsequent Events - Additional Information (Details) - USD ($)
Jul. 03, 2022
Jul. 02, 2022
Dec. 08, 2020
Jun. 30, 2022
Dec. 31, 2021
Subsequent Event [Line Items]          
Common stock, shares issued       62,989,020 62,024,035
Common stock, par value (in dollars per share)       $ 0.001 $ 0.001
PIPE Financing          
Subsequent Event [Line Items]          
Gross proceeds of private placement     $ 90,500,000    
Merger Agreement | Subsequent Event | Tyme          
Subsequent Event [Line Items]          
Common stock, shares issued 74,300,000        
Net cash $ 60,000,000        
Common stock, par value (in dollars per share) $ 0.4312        
Payment of termination fee $ 2,443,000        
Merger Agreement | Subsequent Event | Tyme | Minimum [Member]          
Subsequent Event [Line Items]          
Gross proceeds of private placement 100,000,000        
Merger Agreement | Subsequent Event | Merger Sub          
Subsequent Event [Line Items]          
Payment of termination fee $ 2,068,000        
Securities Purchase Agreement | Subsequent Event          
Subsequent Event [Line Items]          
Warrant adjustment price per share $ 0.0001        
Securities Purchase Agreement | Subsequent Event | PIPE Financing          
Subsequent Event [Line Items]          
Common stock, par value (in dollars per share) $ 0.001        
Issuance of common stock at-the-market, net of issuance costs,Shares 63,871,778        
Securities Purchase Agreement | Subsequent Event | 2022 Pre-Funded Warrants          
Subsequent Event [Line Items]          
Issuance of common stock at-the-market, net of issuance costs,Shares 74,267,400        
Warrants purchase price per share $ 0.9399        
Warrant adjustment price per share 0.0001        
Warrant exercise price of common stock per share 1.0339        
Securities Purchase Agreement | Subsequent Event | 2022 Warrants          
Subsequent Event [Line Items]          
Warrants purchase price per share 0.94        
Warrant exercise price of common stock per share $ 1.034        
Securities Purchase Agreement | Subsequent Event | Minimum [Member]          
Subsequent Event [Line Items]          
Warrants exercisable period 6 months        
Securities Purchase Agreement | Subsequent Event | Maximum          
Subsequent Event [Line Items]          
Warrants exercisable period 5 years        
Securities Purchase Agreement | Subsequent Event | Maximum | 2022 Warrants          
Subsequent Event [Line Items]          
Issuance of common stock at-the-market, net of issuance costs,Shares 138,139,178        
Oxford Finance Loan Agreement Amendment | Subsequent Event          
Subsequent Event [Line Items]          
Extended interest only period upon consummation of merger and private placement Mar. 01, 2024 Mar. 01, 2023      
Extended maturity date upon consummation of merger and private placement Feb. 01, 2026 Feb. 01, 2025      
Extended interest only period upon achievement of certain milestones Sep. 01, 2024        
Extended maturity upon consummation of merger and private placement Aug. 01, 2026