Quarterly report pursuant to Section 13 or 15(d)

Nature of Business - Additional Information (Details)

v3.23.2
Nature of Business - Additional Information (Details) - USD ($)
$ / shares in Units, $ in Thousands
Apr. 06, 2023
Sep. 16, 2022
Jul. 03, 2022
Dec. 08, 2020
Jun. 30, 2023
Dec. 31, 2022
Jun. 30, 2022
Class Of Stock [Line Items]              
Accumulated deficit         $ (618,280) $ (558,233)  
Warrants to purchase common stock             211,709
Common stock, shares issued         20,708,356 20,263,116  
Cash, cash equivalents and marketable securities, fair value         $ 144,000    
Private Placement              
Class Of Stock [Line Items]              
Gross proceeds of private placement   $ 129,900   $ 90,500      
Transaction costs   $ 10,100   $ 400      
Private Placement | Twenty Twenty Two Pre Funded Warrants              
Class Of Stock [Line Items]              
Warrants to purchase common stock   7,426,739          
Share price (in dollars per share)   $ 10.34          
Private Placement | 2022 Warrants              
Class Of Stock [Line Items]              
Share price (in dollars per share)   $ 10.33          
Private Placement | Common Stock              
Class Of Stock [Line Items]              
Shares issued   6,387,173   1,031,250      
Maximum [Member]              
Class Of Stock [Line Items]              
Sale of stock $ 50,000            
Aggregated offering price $ 250,000            
Maximum [Member] | Private Placement | 2022 Warrants              
Class Of Stock [Line Items]              
Warrants to purchase common stock   13,813,912   282,809      
Tyme | Merger Agreement              
Class Of Stock [Line Items]              
Common stock, shares issued     7,500,000        
Acquired net cash, cash equivalents and marketable securities     $ 67,100        
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