Annual report [Section 13 and 15(d), not S-K Item 405]

Common Stock - Additional Information (Details)

v3.25.1
Common Stock - Additional Information (Details) - USD ($)
1 Months Ended 3 Months Ended 12 Months Ended
Oct. 23, 2019
May 31, 2023
Oct. 31, 2019
Mar. 31, 2024
Dec. 31, 2024
Dec. 31, 2023
Dec. 31, 2022
Jan. 01, 2025
May 31, 2024
Jan. 01, 2024
Jun. 01, 2023
Jan. 01, 2023
Jan. 01, 2022
Dec. 31, 2020
Oct. 30, 2019
Jan. 31, 2019
Class Of Stock [Line Items]                                
Common stock, authorized shares         150,000,000 150,000,000                    
Common stock issuance         $ 10,876,000 $ 185,495,000                    
Non-voting common stock, terms of conversion     Each share of the Company’s non-voting common stock may be converted at any time into one share of common stock at the option of its holder by providing 61 days written notice to the Company                          
Proceeds from issuance of common stock, net of issuance costs         10,875,000 185,202,000                    
Debt issuance commissions         $ 252,000 $ 8,647,000                    
Shares available for issuance         1,379,305                      
Weighted average grant-date fair value of stock options granted         $ 13.44 $ 9.51                    
Unrecognized compensation cost related to unvested stock-based awards         $ 51,239                      
Unrecognized compensation cost, weighted average period for recognition         2 years 9 months 18 days                      
At-The-Market Offering Sales Agreement                                
Class Of Stock [Line Items]                                
Common stock issuance, shares       258,070 1,225,000 4,760,899                    
Proceeds from issuance of common stock, net of issuance costs       $ 5,746 $ 5,129 $ 91,740                    
Debt issuance commissions       $ 147   2,352                    
Payment for commissions         105                      
At-The-Market Offering Sales Agreement | Maximum                                
Class Of Stock [Line Items]                                
Common stock issuance         $ 200,000,000 $ 100,000,000                    
2018 Plan | Employee Stock Option                                
Class Of Stock [Line Items]                                
Share-based compensation unvested number of shares                           0    
Number of options granted         1,959,411                      
2018 Plan | Maximum | Employee Stock Option                                
Class Of Stock [Line Items]                                
Share-based compensation, vesting period         4 years                      
2018 Plan | Minimum | Employee Stock Option                                
Class Of Stock [Line Items]                                
Share-based compensation, vesting period         3 years                      
2019 Plan                                
Class Of Stock [Line Items]                                
Shares reserved for issuance 2,342,288                              
Increase in share reserved percentage 4.00%                              
2019 Plan | Subsequent Event                                
Class Of Stock [Line Items]                                
Shares reserved for issuance               2,029,724                
2019 Plan | Employee Stock Option                                
Class Of Stock [Line Items]                                
Number of options granted         3,476,700                      
2019 ESPP                                
Class Of Stock [Line Items]                                
Common stock issuance, shares         314,259                      
Shares reserved for issuance 234,229                 0   0 0      
2019 ESPP | Minimum                                
Class Of Stock [Line Items]                                
Shares reserved for issuance                               234,229
Increase in share reserved percentage 1.00%                              
Payroll deduction percentage of eligible compensation         15.00%                      
Employee stock purchase plan maximum annual rights to purchase common stock         $ 25                      
Percentage of shares to be purchased         85.00%                      
May 2023 Financing                                
Class Of Stock [Line Items]                                
Common stock issuance, shares   8,337,500                            
May 2023 Financing | Employee Stock Option                                
Class Of Stock [Line Items]                                
Additional options to be purchased by underwriters   1,087,500                            
December 2022 Financing                                
Class Of Stock [Line Items]                                
Common stock issuance, shares             126,815                  
Common stock price per share             $ 5.52                  
Voting Common Stock                                
Class Of Stock [Line Items]                                
Common stock, authorized shares         143,590,481 143,590,481                 143,590,481  
Common stock, par value         $ 0.00001 $ 0.00001                    
Voting Common Stock | 2019 Plan                                
Class Of Stock [Line Items]                                
Shares reserved for issuance                     3,000,000          
Non-voting Common Stock                                
Class Of Stock [Line Items]                                
Common stock, authorized shares         6,409,519 6,409,519     1,444,295           6,409,519  
Common stock, par value         $ 0.00001 $ 0.00001                    
Pre-funded Warrants | May 2023 Financing                                
Class Of Stock [Line Items]                                
Underwriting discounts and commissions and offering expenses   $ 6,295                            
Decrease in exercise price of Warrents   $ 12                            
Net proceeds from exercise of warrants   $ 93,755                            
Pre-funded Warrants | December 2022 Financing                                
Class Of Stock [Line Items]                                
Common stock issuance, shares             6,213,776                  
Warrants exercised         6,213,775                      
Warrants outstanding             0                  
Common stock price per share             $ 5.51999                  
Decrease in exercise price of Warrents             $ 0.00001                  
Net proceeds from exercise of warrants             $ 32,562