XML 22 R11.htm IDEA: XBRL DOCUMENT v3.21.2
Net income (loss) per share
9 Months Ended
Sep. 30, 2021
Earnings Per Share [Abstract]  
Net income (loss) per share Net income (loss) per share 
The following table sets forth the computation of the basic and diluted net income (loss) per share for the periods indicated (in thousands, except per share amounts): 
 Three Months Ended
September 30,
Nine Months Ended
September 30,
 2021202020212020
Numerator:     
Net income (loss)$(1,860)$(4,903)$(29,984)$7,129 
Denominator:  
Weighted average shares used to compute per share amount:  
Basic52,427 49,936 51,599 49,212 
Diluted52,427 49,936 51,599 51,411 
Basic net income (loss) per share$(0.04)$(0.10)$(0.58)$0.14 
Diluted net income (loss) per share$(0.04)$(0.10)$(0.58)$0.14 
 
The Company has excluded the impact of the following outstanding employee stock options and restricted stock units as well as the shares expected to be issued under its employee stock purchase plan from the computation of diluted net income (loss) per share, as their effect would have been antidilutive (in thousands): 
 Three Months Ended
September 30,
Nine Months Ended
September 30,
2021202020212020
Employee stock options1,604 2,282 1,604 658 
Restricted stock units3,274 3,622 3,274 80 
Market-based restricted stock units134 612 134 612 
Performance-based restricted stock units240 90 240 90 
Employee stock purchase plan125 169 125 — 
 5,377 6,775 5,377 1,440