Annual report pursuant to Section 13 and 15(d)

Nature of Business - Additional Information (Details)

v3.22.4
Nature of Business - Additional Information (Details) - USD ($)
1 Months Ended 12 Months Ended
Sep. 16, 2022
Jul. 03, 2022
Jan. 22, 2021
Dec. 08, 2020
Dec. 04, 2020
Jan. 31, 2021
Dec. 31, 2020
Dec. 31, 2022
Dec. 31, 2021
Dec. 31, 2020
Class Of Stock [Line Items]                    
Common stock, shares issued               20,263,116 6,202,403  
Public offering price per share     $ 140.00              
Gross proceeds from common stock                   $ 11,896,000
Warrants to purchase common stock             211,709   211,709 211,709
Net Loss               $ 94,654,000 $ 86,558,000 $ 84,038,000
Accumulated deficit               558,233,000 $ 463,579,000  
Cash, cash equivalents and marketable securities, fair value               $ 202,300    
Stock Split Amendment                    
Class Of Stock [Line Items]                    
Description of reverse stock split the reverse stock split of its common stock, such that every 10 shares of the Company’s common stock held by a stockholder immediately prior to the reverse stock split were combined and reclassified into one share of the Company’s common stock                  
Merger Agreement | Tyme                    
Class Of Stock [Line Items]                    
Common stock, shares issued   7,500,000                
Acquired net cash, cash equivalents and marketable securities   $ 67,100,000                
Orsenix, LLC | Asset Purchase Agreement                    
Class Of Stock [Line Items]                    
Upfront fee payments         $ 12,000,000.0   $ 12,000,000.0      
Payments made upon achievement of regulatory milestone         6,000,000.0          
Payments made upon achievement of commercial milestone         $ 10,000,000.0          
Underwritten Public Offering                    
Class Of Stock [Line Items]                    
Shares issued     540,000     540,000        
Public offering price per share           $ 140.00        
Gross proceeds from common stock     $ 75,600,000     $ 75,600,000        
Underwriting discounts and commissions and other transaction expenses     $ 5,100,000     $ 5,100,000        
Private Placement                    
Class Of Stock [Line Items]                    
Gross proceeds of private placement $ 129,900,000     $ 90,500,000            
Transaction costs $ 10,100,000     $ 400,000            
Private Placement | Common Stock                    
Class Of Stock [Line Items]                    
Shares issued 6,387,173     1,031,250       6,387,173    
Private Placement | 2022 Pre-Funded Warrants                    
Class Of Stock [Line Items]                    
Warrants to purchase common stock 7,426,739     100,000            
Share price (in dollars per share) $ 10.34     $ 80.00            
Private Placement | 2022 Warrants                    
Class Of Stock [Line Items]                    
Share price (in dollars per share) $ 10.33     $ 79.90            
Private Placement | 2022 Warrants | Maximum                    
Class Of Stock [Line Items]                    
Warrants to purchase common stock 13,813,912     282,809            
Private Placement | 2020 Pre-Funded Warrants                    
Class Of Stock [Line Items]                    
Warrants to purchase common stock       100,000            
Share price (in dollars per share)       $ 80.00            
Private Placement | 2020 Warrants                    
Class Of Stock [Line Items]                    
Share price (in dollars per share)       $ 79.90            
Private Placement | 2020 Warrants | Maximum                    
Class Of Stock [Line Items]                    
Warrants to purchase common stock       282,812