v3.26.1
Organization (Details) - USD ($)
$ / shares in Units, $ in Thousands
1 Months Ended 6 Months Ended
Mar. 06, 2026
Jan. 31, 2026
Oct. 31, 2025
Nov. 30, 2024
Oct. 31, 2024
Aug. 31, 2024
May 31, 2024
Apr. 30, 2024
Jul. 31, 2022
Jun. 30, 2022
May 31, 2026
May 31, 2025
Nov. 30, 2025
Jul. 11, 2024
Aug. 31, 2021
Organization Consolidation And Presentation Of Financial Statements [Line Items]                              
Proceeds from issuance of common stock                     $ 18,004 $ 0      
Cash and short-term investments                     443,500        
Accumulated deficit                     (1,179,935)   $ (1,003,226)    
Additional paid-in capital                              
Organization Consolidation And Presentation Of Financial Statements [Line Items]                              
Issuance of pre funded warrants               $ 188,700              
Registered Direct Offerings                              
Organization Consolidation And Presentation Of Financial Statements [Line Items]                              
Proceeds from issuance of common stock     $ 234,400                        
Number of shares issued (in shares)     24,485,799                        
Sale price of stock (in USD per share)     $ 10.21                        
Offering expenses     $ 15,600                        
Registered Direct Offerings | Pre Funded Warrants                              
Organization Consolidation And Presentation Of Financial Statements [Line Items]                              
Number of warrants (in shares)                 6,814,920            
Purchase price of warrants (in USD per share)                 $ 13.939            
Proceeds from issuance of warrants                 $ 94,800            
Warrants offering expenses                 $ 200            
2024 Public Offering                              
Organization Consolidation And Presentation Of Financial Statements [Line Items]                              
Number of shares issued (in shares)               11,916,667              
Sale price of stock (in USD per share)               $ 15.00              
Number of warrants (in shares)               1,500,100              
Purchase price of warrants (in USD per share)               $ 14.999              
Issuance costs, common stock               $ 12,500              
Underwriters                              
Organization Consolidation And Presentation Of Financial Statements [Line Items]                              
Number of shares issued (in shares)               1,750,000              
Equity Distribution Agreement | Piper Sandler & Co. | At the Market Offering                              
Organization Consolidation And Presentation Of Financial Statements [Line Items]                              
Remaining stock available for sale                     $ 300,000        
Equity distribution agreement, commission percentage on gross sales price of shares 3.00%       3.00%                   3.00%
Issuance of common stock and pre-funded warrants, net of issuance costs (in shares)       3,634,393 4,803,573 2,145,000 3,194,809     2,000,000          
Issuance of Series D redeemable convertible preferred stock, per share (in USD per share)       $ 26.25   $ 20.00       $ 10.00          
Proceeds from issuance of common stock $ 113,650 $ 18,300   $ 95,400 $ 107,100 $ 42,900 $ 50,200     $ 20,000          
Number of shares issued (in shares)   1,000,000                          
Sale price of stock (in USD per share)   $ 18.25                          
Maximum | Equity Distribution Agreement                              
Organization Consolidation And Presentation Of Financial Statements [Line Items]                              
Remaining stock available for sale                             $ 450,000
Maximum | Equity Distribution Agreement | Piper Sandler & Co. | At the Market Offering                              
Organization Consolidation And Presentation Of Financial Statements [Line Items]                              
Remaining stock available for sale $ 413,650       $ 300,000                 $ 150,000 $ 150,000
Issuance of Series D redeemable convertible preferred stock, per share (in USD per share)         $ 25.00   $ 16.00                
Minimum | Equity Distribution Agreement | Piper Sandler & Co. | At the Market Offering                              
Organization Consolidation And Presentation Of Financial Statements [Line Items]                              
Issuance of Series D redeemable convertible preferred stock, per share (in USD per share)         $ 21.50   $ 15.50