v3.25.1
Notes Payable - Additional Information (Details) - USD ($)
3 Months Ended 6 Months Ended 9 Months Ended
Dec. 22, 2023
Apr. 30, 2025
Apr. 30, 2024
Apr. 30, 2025
Apr. 30, 2024
Jul. 31, 2024
Dec. 18, 2024
Oct. 31, 2024
Dec. 30, 2021
Debt Instrument [Line Items]                  
Loss on extinguishment of debt         $ (366,000)        
Note payable current   $ 3,570,000   $ 3,570,000       $ 699,000  
Amended Loan Agreement                  
Debt Instrument [Line Items]                  
Warrant issued to purchase preferred shares 138,696                
Warrants, exercise price per share $ 7.21                
Percentage of aggregate principal amount of term loan advance to purchase number of common shares 2.00%                
Warrants exercisable period 7 years                
Hercules Capital | Loan and Security Agreement                  
Debt Instrument [Line Items]                  
Note payable current   $ 3,600,000   $ 3,600,000          
Term Loan | First Amendment to Amended and Restated Loan and Security Agreement [Member]                  
Debt Instrument [Line Items]                  
Term loan facility aggregate principal amount             $ 50,000,000    
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        
Effective interest rate of outstanding debt   11.63%   11.63%          
Line of credit, maturity date Jan. 01, 2028                
End of term fee percentage 5.50%                
End of term charge $ 700,000     $ 700,000          
Debt instrument, interest rate 9.25%                
Payment-in-kind interest rate 1.15%                
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
Note payable current               $ 700,000  
Interest expense   $ 700,000 $ 700,000 1,500,000 1,300,000        
Amortization of debt discount   100,000 $ 100,000 300,000 $ 300,000        
Borrowed amount   22,500,000   22,500,000          
Debt discount and issuance costs   2,100,000   2,100,000          
Advance Subject to Achievement of Specified Interim Milestone [Member] | Term Loan | First Amendment to Amended and Restated Loan and Security Agreement [Member]                  
Debt Instrument [Line Items]                  
Term loan facility aggregate principal amount   $ 27,500,000   $ 27,500,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 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      
Advance on loan allocated to warrants           $ 300,000      
Tranche 3 Advance | Term Loan | First Amendment to Amended and Restated Loan and Security Agreement [Member]                  
Debt Instrument [Line Items]                  
Term loan facility aggregate principal amount             27,500,000    
Percentage of facility charge on amount borrowed 0.75%                
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 years                
Line of credit, maturity date Mar. 31, 2025                
Tranche three advance subject to achievement of specified interim milestone | Term Loan | First Amendment to Amended and Restated Loan and Security Agreement [Member]                  
Debt Instrument [Line Items]                  
Term loan facility aggregate principal amount             7,500,000    
Tranche 2 to Tranche 3 | Term Loan | First Amendment to Amended and Restated Loan and Security Agreement [Member]                  
Debt Instrument [Line Items]                  
Term loan facility aggregate principal amount             $ 7,500,000    
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