Quarterly report pursuant to Section 13 or 15(d)

Nature of Business - Additional Information (Details)

v3.22.2.2
Nature of Business - Additional Information (Details) - USD ($)
$ / shares in Units, $ in Thousands
3 Months Ended 9 Months Ended 12 Months Ended
Sep. 16, 2022
Jul. 03, 2022
Dec. 08, 2020
Sep. 30, 2022
Sep. 30, 2021
Sep. 30, 2022
Sep. 30, 2021
Dec. 31, 2021
Dec. 31, 2020
Dec. 31, 2019
Class Of Stock [Line Items]                    
Net Loss       $ 30,253 $ 26,027 $ 89,880 $ 62,745 $ 86,600 $ 84,000 $ 75,400
Accumulated deficit       $ (553,459)   $ (553,459)   $ (463,579)    
Warrants to purchase common stock       211,709 211,709 211,709 211,709      
Common stock, shares issued       20,225,352   20,225,352   6,202,404    
Cash, cash equivalents and marketable securities, fair value       $ 244,500   $ 244,500        
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   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 | Common Stock                    
Class Of Stock [Line Items]                    
Shares issued 6,387,173   1,031,250 6,387,173   6,387,173        
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