Quarterly report pursuant to Section 13 or 15(d)

Equity Incentive Plans - Additional Information (Details)

v3.22.2
Equity Incentive Plans - Additional Information (Details) - USD ($)
1 Months Ended 3 Months Ended 6 Months Ended 12 Months Ended
Jan. 01, 2022
Jan. 31, 2022
Jun. 30, 2022
Jun. 30, 2021
Mar. 31, 2021
Jun. 30, 2022
Jun. 30, 2021
Dec. 31, 2021
Dec. 31, 2020
Share Based Compensation Arrangement By Share Based Payment Award [Line Items]                  
Common stock vesting period           4 years      
Weighted-average grant date fair value of options granted     $ 2.86     $ 5.70      
Intrinsic value of the stock options exercised     $ 43,945     $ 43,945      
Fair value of stock options vested     $ 4,900,000 $ 100,000   $ 6,700,000 $ 1,300,000    
Options granted       2,478,602     5,367,984    
Common stock issued upon exercise of options, shares       3,383     922,208    
Early exercise of stock options repurchase right lapse period           180 days      
Shares remained subject to the right of repurchase as a result of the early exercised stock options     806,636     806,636   1,195,631  
Stock Issued During Period Shares Stock Options Exercised And Repurchased           50,713      
Remaining liability related to early exercised shares     $ 200,000     $ 200,000      
Shares reserved for future issuance     13,714,420     13,714,420   10,034,853  
Stock-based compensation expense     $ 3,360,000 $ 2,018,000   $ 6,702,000 $ 3,051,000    
Unrecognized stock-based compensation expense     $ 39,000,000.0     $ 39,000,000.0   $ 30,500,000  
Unrecognized stock-based compensation expense, expected to be recognized period           3 years   3 years 3 months 18 days  
2021 Employee Stock Purchase Plan                  
Share Based Compensation Arrangement By Share Based Payment Award [Line Items]                  
Shares reserved for future issuance     564,000     564,000      
Percentage of lower of the fair market value of common stock at the beginning of the offering period or at the end of each applicable purchase period           85.00%      
Accrued liabilities     $ 100,000     $ 100,000      
Common Stock                  
Share Based Compensation Arrangement By Share Based Payment Award [Line Items]                  
Common stock issued upon exercise of options, shares     43,945 3,383 918,825        
Common Stock | 2021 Employee Stock Purchase Plan                  
Share Based Compensation Arrangement By Share Based Payment Award [Line Items]                  
Increase in shares available for issuance   564,000              
Maximum | 2021 Employee Stock Purchase Plan                  
Share Based Compensation Arrangement By Share Based Payment Award [Line Items]                  
Percentage of eligible compensation to purchase shares of the Company's common stock at a discount through payroll deductions           15.00%      
Restricted Stock Units (RSUs)                  
Share Based Compensation Arrangement By Share Based Payment Award [Line Items]                  
Common stock vesting period                 4 years
Restricted stock awards granted     0 0   0 0    
Share-based compensation, liabilities for restricted stock awards, cancelled           0   0  
Share-based compensation, liabilities for restricted stock awards, vested           450,090   345,966  
Outstanding Stock Option Awards                  
Share Based Compensation Arrangement By Share Based Payment Award [Line Items]                  
Stock-based compensation expense     $ 3,246,000 $ 2,011,000   $ 6,440,000 $ 3,044,000    
Outstanding Stock Option Awards | Non Employees                  
Share Based Compensation Arrangement By Share Based Payment Award [Line Items]                  
Stock-based compensation expense     $ 100,000 $ 200,000   $ 100,000 $ 300,000    
Accrued Expenses and Other Liabilities                  
Share Based Compensation Arrangement By Share Based Payment Award [Line Items]                  
Remaining liability related to early exercised shares               $ 300,000  
2020 Stock Option and Grant Plan                  
Share Based Compensation Arrangement By Share Based Payment Award [Line Items]                  
Share based compensation arrangement by share based payment award, granted period           10 years      
Common stock vesting period           4 years      
Share based compensation arrangement by share based payment award, exercise price percentage           10.00%      
2020 Stock Option and Grant Plan | Minimum                  
Share Based Compensation Arrangement By Share Based Payment Award [Line Items]                  
Share based compensation arrangement by share based payment award, exercise price percentage           100.00%      
2020 Stock Option and Grant Plan | Stock Option Grant to 10.0% Stockholder                  
Share Based Compensation Arrangement By Share Based Payment Award [Line Items]                  
Common stock vesting period           5 years      
2020 Stock Option and Grant Plan | Stock Option Grant to 10.0% Stockholder | Minimum                  
Share Based Compensation Arrangement By Share Based Payment Award [Line Items]                  
Share based compensation arrangement by share based payment award, exercise price percentage           110.00%      
2020 Stock Option and Grant Plan | Restricted Stock Units (RSUs)                  
Share Based Compensation Arrangement By Share Based Payment Award [Line Items]                  
Restricted stock awards granted                 832,983
2021 Stock Option And Grant Plan [Member]                  
Share Based Compensation Arrangement By Share Based Payment Award [Line Items]                  
Increase in shares available for issuance 2,900,541                
2021 Stock Option and Incentive Plan                  
Share Based Compensation Arrangement By Share Based Payment Award [Line Items]                  
Common stock vesting period     10 years            
Shares reserved for future issuance     5,636,000     5,636,000      
Shares reserved and available for issuance     5.00%            
Grant date fair value of year one     $ 1,000,000.0            
Grant date fair value of year thereafter     $ 750,000.0            
Increase in shares available for issuance           5,171,735      
2021 Stock Option and Incentive Plan | Minimum                  
Share Based Compensation Arrangement By Share Based Payment Award [Line Items]                  
Share based compensation arrangement by share based payment award, exercise price percentage     100.00%