XML 50 R40.htm IDEA: XBRL DOCUMENT v3.22.1
Long Term Debt - Additional Information (Details) - Oxford Finance LLC - USD ($)
1 Months Ended 12 Months Ended
Mar. 16, 2021
Jul. 31, 2021
Jan. 31, 2020
Dec. 31, 2021
Debt Instrument [Line Items]        
Long term debt, maximum borrowing amount     $ 25,000,000.0  
Long term debt, amount drawn upon execution of agreement     $ 7,500,000  
Interest rate     2.01%  
Additional interest rate     5.98%  
Debt instrument minimum annual interest rate     7.99%  
Percentage of final payment equal to original principal amount borrowed     4.00%  
Percentage of future amount to be funded     3.00%  
Prepayment of outstanding principal balance   $ 7,500,000    
Prepayment penalty, accrued interest and final payment   $ 500,000    
Loss on extinguishment of debt       $ (600,000)
Series C Convertible Preferred Stock        
Debt Instrument [Line Items]        
Warrant to purchase of convertible preferred stock     112,500  
Exercise price of warrants $ 7.558   $ 1.00  
Expected term (in years)     10 years  
Conversion of convertible preferred stock into common stock at initial public offering, shares 14,884