XML 121 R45.htm IDEA: XBRL DOCUMENT v3.22.1
Stockholders' equity - Additional Information (Details) - $ / shares
1 Months Ended 3 Months Ended 12 Months Ended
Jul. 20, 2021
Jul. 31, 2021
Mar. 31, 2022
Mar. 31, 2021
Dec. 31, 2018
Dec. 31, 2021
Feb. 28, 2021
Dec. 31, 2020
Class of Stock [Line Items]                
Common stock, shares authorized     800,000,000     800,000,000    
Undesignated preferred stock authorized     80,000,000     80,000,000    
Undesignated preferred stock par value     $ 0.0001     $ 0.0001    
Common stock, shares issued     121,732,846     121,382,547    
Common stock, shares outstanding     119,875,630     119,102,505    
Share-based compensation, vesting rights description     The restricted stock vests 25% one year from the vesting commencement date and monthly thereafter over a three-year period and is subject to repurchase by the Company in the event of any voluntary or involuntary termination of services to the Company prior to vesting.          
Shares of common stock subject to repurchase     121,530     212,674    
Number of shares vested     91,144 91,147        
Common Stock                
Class of Stock [Line Items]                
Common stock, shares issued     121,732,846 26,129,283   121,382,547   25,189,673
IPO                
Class of Stock [Line Items]                
Common stock, shares authorized 800,000,000           156,000,000  
Undesignated preferred stock authorized 80,000,000              
Undesignated preferred stock par value $ 0.0001              
IPO | Common Stock                
Class of Stock [Line Items]                
Convertible preferred stock converted into shares of common stock 71,263,685 71,263,685            
Restricted Stock                
Class of Stock [Line Items]                
Shares issued         1,458,332      
Share price per share         $ 0.0001      
Stock vesting period         3 years      
Restricted Stock | One Year from the Vesting Commencement Date and Monthly Thereafter Over Three-year Vesting Period                
Class of Stock [Line Items]                
Stock vesting percentage         25.00%      
Share-based compensation, vesting rights description     The Company granted 1,795,827 shares of its restricted stock in 2018, which vest 25% one year from the vesting commencement date and monthly thereafter over a three-year period.          
Convertible Preferred Stock                
Class of Stock [Line Items]                
Preferred shares outstanding     0 85,516,454   0   69,584,682