XML 21 R11.htm IDEA: XBRL DOCUMENT v3.21.1
Net income (loss) per share
3 Months Ended
Mar. 31, 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
March 31,
 20212020
Numerator:     
Net income (loss)$(10,692)$6,307 
Denominator:  
Weighted average shares used to compute per share amount:  
Basic50,717 48,615 
Diluted50,717 50,617 
Basic net income (loss) per share$(0.21)$0.13 
Diluted net income (loss) per share$(0.21)$0.12 
 
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
March 31,
20212020
Employee stock options1,897 975 
Restricted stock units3,365 42 
Market-based restricted stock units305 612 
Performance-based restricted stock units90 — 
Employee stock purchase plan344 344 
 6,001 1,973