XML 104 R69.htm IDEA: XBRL DOCUMENT v3.21.2
Stockholders' equity - Narrative (Details) - USD ($)
$ in Millions
12 Months Ended
Dec. 31, 2020
Jun. 30, 2021
Class of Stock [Line Items]    
Accumulated deficit subject to restriction $ 10.0  
Accumulated profits (at least) 10.00%  
Stock options    
Class of Stock [Line Items]    
Common stock reserved for future issuance (in shares)   7,402,846
ESPP    
Class of Stock [Line Items]    
Common stock reserved for future issuance (in shares)   1,156,415