XML 66 R53.htm IDEA: XBRL DOCUMENT v3.21.2
Net (loss) income per share - Potentially Anti-Dilutive Securities Excluded From Calculation of Diluted Net (Loss) Income per Share (Details) - shares
3 Months Ended 9 Months Ended
Sep. 30, 2021
Sep. 30, 2020
Sep. 30, 2021
Sep. 30, 2020
Net loss per share        
Potentially anti-dilutive securities excluded from calculation of diluted net loss per share (in shares) 14,768,189 16,371,576 14,768,189 20,726,380
Stock options        
Net loss per share        
Potentially anti-dilutive securities excluded from calculation of diluted net loss per share (in shares) 12,947,009 11,613,978 12,947,009 12,912,267
Weighted-average number of shares of adjustments   86,000    
Restricted stock units        
Net loss per share        
Potentially anti-dilutive securities excluded from calculation of diluted net loss per share (in shares) 1,749,979 807,566 1,749,979 3,758,548
Weighted-average number of shares of adjustments   137,000    
2018 Notes        
Net loss per share        
Potentially anti-dilutive securities excluded from calculation of diluted net loss per share (in shares) 41,873 3,950,032 41,873 3,950,032
Employee Stock Purchase Plan        
Net loss per share        
Potentially anti-dilutive securities excluded from calculation of diluted net loss per share (in shares) 29,328   29,328 105,533
Weighted-average number of shares of adjustments   27,000