CONSOLIDATED STATEMENTS OF CHANGES IN CONVERTIBLE PREFERRED STOCK AND STOCKHOLDERS' EQUITY (DEFICIT) - USD ($)
$ in Thousands
Total
Convertible Preferred Stock
Revision of Prior Period, Accounting Standards Update, Adjustment
Series A One And Series B Warrants
IPO
Common Stock
Common Stock
IPO
Additional Paid-in Capital
Additional Paid-in Capital
Series A One And Series B Warrants
Additional Paid-in Capital
IPO
Accumulated Other Comprehensive Income
Accumulated Deficit
Accumulated Deficit
Revision of Prior Period, Accounting Standards Update, Adjustment
Balance at Dec. 31, 2019 $ (149,511)   $ 111     $ 2   $ 2,689     $ 19 $ (152,221) $ 111
Beginning balance, Shares at Dec. 31, 2019   32,934,785                      
Beginning balance at Dec. 31, 2019   $ 222,173                      
Beginning balance, Shares at Dec. 31, 2019           13,196,419              
Accounting Standards Update [Extensible Enumeration] Accounting Standards Update201602 [Member]                        
Issuance of common stock under employee stock compensation plans $ 224             224          
Issuance of common stock under employee stock compensation plans, Shares           219,370              
Issuance of preferred stock for cash net of issuance costs, Shares 10,018,300                        
Issuance of preferred stock for cash net of issuance costs   $ 104,140                      
Issuance of common stock for conversion of preferred stock in closing of IPO         $ 326,312   $ 3     $ 326,309      
Conversion of preferred stock shares for common stock         (42,953,085)                
Conversion of preferred stock value for common stock         $ (326,313)                
Issuance of common stock for conversion of preferred stock in closing of IPO, Shares             34,445,108            
Issuance of common stock from initial public offering $ 205,743         $ 1   205,742          
Issuance of common stock from initial public offering, Shares           14,000,000              
Stock-based compensation expense 7,220             7,220          
Reclassification of warrants       $ 1,658         $ 1,658        
Unrealized loss on short-term investments (14)                   (14)    
Net loss (129,775)                     (129,775)  
Balance at Dec. 31, 2020 261,968         $ 6   543,842     5 (281,885)  
Ending balance, Shares at Dec. 31, 2020           61,860,897              
Issuance of common stock under employee stock compensation plans 2,518             2,518          
Issuance of common stock under employee stock compensation plans, Shares           662,699              
Stock-based compensation expense 16,704             16,704          
Unrealized loss on short-term investments (5)                   $ (5)    
Net loss (124,974)                     (124,974)  
Balance at Dec. 31, 2021 $ 156,211         $ 6   $ 563,064       $ (406,859)  
Ending balance, Shares at Dec. 31, 2021           62,523,596