XML 60 R50.htm IDEA: XBRL DOCUMENT v3.24.2.u1
Notes Payable - Additional Information (Details)
3 Months Ended 9 Months Ended
Dec. 22, 2023
USD ($)
$ / shares
shares
Apr. 04, 2023
USD ($)
Jun. 15, 2022
USD ($)
Dec. 30, 2021
USD ($)
Jul. 31, 2024
USD ($)
$ / shares
shares
Jul. 31, 2023
USD ($)
Apr. 30, 2023
USD ($)
Jul. 31, 2024
USD ($)
$ / shares
shares
Jul. 31, 2023
USD ($)
Jul. 31, 2024
$ / shares
Oct. 31, 2023
USD ($)
Dec. 15, 2022
USD ($)
Jun. 30, 2022
USD ($)
shares
Debt Instrument [Line Items]                          
Loss on extinguishment of debt               $ (366,000)          
Note payable current         $ 1,341,000     $ 1,341,000     $ 562,000    
Warrants, exercise price per share | $ / shares         $ 11.5     $ 11.5          
Old Hercules Warrants                          
Debt Instrument [Line Items]                          
Warrants exercisable period         10 years     10 years          
Warrants, exercise price per share | $ / shares                   $ 2.632      
Loan and Security Agreement | Old Hercules Warrants                          
Debt Instrument [Line Items]                          
Exercise price equal to percentage of aggregate amount of term loans               2.50%          
Loan and Security Agreement | Old Hercules Warrants | Class C Preferred Shares                          
Debt Instrument [Line Items]                          
Warrant issued to purchase preferred shares | shares         84,714     84,714         48,978
Preferred share warrants fair value         $ 34,000     $ 34,000         $ 23,000
Amended Loan Agreement                          
Debt Instrument [Line Items]                          
Warrant issued to purchase preferred shares | shares 138,696                        
Warrants, exercise price per share | $ / shares $ 7.21                        
Percentage of aggregate principal amount of term loan advance to purchase number of common shares 2.00%                        
Warrants exercisable period 7 years                        
Term Loan | Amended Loan Agreement                          
Debt Instrument [Line Items]                          
Percentage of prepayment premium of principal amount outstanding of the closing date 3.00%                        
Percentage of prepayment premium of principal amount outstanding prior to twenty-four months 2.00%                        
Percentage of prepayment premium of principal amount outstanding prior to maturity date 1.00%                        
Loss on extinguishment of debt         $ 400,000     $ 400,000          
Effective interest rate of outstanding debt         11.84%     11.84%          
Line of credit, maturity date Jan. 01, 2028                        
End of term fee percentage 5.50%                        
End of term charge $ 0.7                        
Debt instrument, interest rate 9.25%                        
Payment-in-kind interest rate 1.15%                        
Loan amortization date Jul. 01, 2025                        
Percentage of total commitment amount 2.00%                        
Total commitment amount $ 50,000,000                        
Term Loan | Wall Street Journal | Amended Loan Agreement                          
Debt Instrument [Line Items]                          
Term loan annual interest rate 0.75%                        
Term Loan | Maximum | Wall Street Journal | Amended Loan Agreement                          
Debt Instrument [Line Items]                          
Debt instrument, interest rate 9.75%                        
2021 Loan and Security Agreement | Hercules Capital                          
Debt Instrument [Line Items]                          
Term loan facility aggregate principal amount       $ 20,000,000                  
Percentage of aggregate principle amount of term loan advances amount fee       6.35%                  
Term loan maturity date       Jul. 01, 2025                  
Term loan annual interest rate       8.25%                  
Term loan reduced annual interest rate       8.15%                  
Percentage of prepayment premium of principal amount outstanding of the closing date       3.00%                  
Percentage of prepayment premium of principal amount outstanding prior to twenty-four months       2.00%                  
Percentage of prepayment premium of principal amount outstanding prior to maturity date       1.00%                  
Effective interest rate of outstanding debt                     18.30%    
Note payable current                     $ 600,000    
Interest expense         $ 800,000 $ 500,000   $ 2,000,000 $ 1,400,000        
Amortization of debt discount         100,000 $ 100,000   400,000 $ 300,000        
Borrowed amount         22,500,000     22,500,000     11,000,000    
Debt discount and issuance costs         2,100,000     2,100,000     $ 1,100,000    
2021 Loan and Security Agreement | Hercules Capital | Prime Rate                          
Debt Instrument [Line Items]                          
Term loan annual interest rate       3.25%                  
2021 Loan and Security Agreement | Tranche One | Hercules Capital                          
Debt Instrument [Line Items]                          
Term loan facility aggregate principal amount       $ 7,000,000                  
2021 Loan and Security Agreement | Tranche Two | Hercules Capital                          
Debt Instrument [Line Items]                          
Term loan facility aggregate principal amount     $ 4,000,000                    
Term loan facility, drawn term     2022-06                    
2021 Loan and Security Agreement | Tranche Three | Hercules Capital                          
Debt Instrument [Line Items]                          
Term loan facility aggregate principal amount                       $ 9,000,000  
April 2023 Notes                          
Debt Instrument [Line Items]                          
Term loan maturity date   Jul. 31, 2023                      
Loss on extinguishment of debt             $ 0            
Borrowed amount   $ 8,000,000                      
Interest free period   45 days                      
Fair value of debt instrument   $ 8,000,000                      
Accrue interest rate percentage   15.00%                      
April 2023 Notes | Minimum                          
Debt Instrument [Line Items]                          
Aggregate sale of convertible promissory notes, warrants, preferred shares, common shares, or combined thereof   $ 20,000,000                      
Tranche 1 Advance | Term Loan | Amended Loan Agreement                          
Debt Instrument [Line Items]                          
Term loan facility aggregate principal amount $ 50,000,000                        
Warrant issued to purchase preferred shares | shares 62,413                        
Proceeds from line of credit $ 22,500,000                        
Tranche 1 Advance | Term Loan | Amended Loan Agreement | Hercules Warrants                          
Debt Instrument [Line Items]                          
Borrowed amount         $ 22,500,000     22,500,000          
Advance on loan allocated to warrants               $ 300,000          
Tranche 3 Advance | Term Loan | Amended Loan Agreement                          
Debt Instrument [Line Items]                          
Term loan facility aggregate principal amount $ 20,000,000                        
Percentage of facility charge on amount borrowed 0.75%                        
Applied to Refinance of Amount Outstanding | Term Loan | Prior Loan Agreement                          
Debt Instrument [Line Items]                          
Proceeds from line of credit $ 8,600,000                        
Tranche 2 Advance Subject to Achievement of Specified Interim Milestone | Term Loan | Amended Loan Agreement                          
Debt Instrument [Line Items]                          
Term loan facility aggregate principal amount $ 7,500,000                        
Period Within Loan Disbursements to be Made 60 days                        
Line of credit, maturity date Mar. 31, 2025                        
If Interim Milestone and Certain Clinical Milestones Achieved and No Default | Term Loan | Amended Loan Agreement                          
Debt Instrument [Line Items]                          
Loan amortization date Jul. 01, 2026                        
If Interim Milestone Achieved and No Default | Term Loan | Amended Loan Agreement                          
Debt Instrument [Line Items]                          
Loan amortization date Jan. 01, 2026