XML 61 R26.htm IDEA: XBRL DOCUMENT v3.21.2
Net income (loss) per share (Tables)
6 Months Ended
Jun. 30, 2021
Earnings Per Share [Abstract]  
Schedule of computation of basic and diluted net income 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
June 30,
Six Months Ended
June 30,
 2021202020212020
Numerator:     
Net income (loss)$(17,433)$5,725 $(28,124)$12,032 
Denominator:  
Weighted average shares used to compute per share amount:  
Basic51,634 49,077 51,178 48,846 
Diluted51,634 51,661 51,178 51,124 
Basic net income (loss) per share$(0.34)$0.12 $(0.55)$0.25 
Diluted net income (loss) per share$(0.34)$0.11 $(0.55)$0.24 
Schedule of potentially dilutive securities excluded from computation of diluted net income per share attributable to common stockholders
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
June 30,
Six Months Ended
June 30,
2021202020212020
Employee stock options1,734 337 1,734 661 
Restricted stock units2,465 33 2,465 49 
Market-based restricted stock units265 612 265 612 
Performance-based restricted stock units75 90 75 90 
Employee stock purchase plan132 119 132 119 
 4,671 1,191 4,671 1,531