XML 37 R27.htm IDEA: XBRL DOCUMENT v3.20.1
Net income (loss) per share (Tables)
3 Months Ended
Mar. 31, 2020
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
March 31,
 20202019
Numerator:     
Net income (loss)$6,307  $(14,091) 
Denominator:  
Weighted average shares used to compute per share amount:  
Basic48,615  46,414  
Diluted50,617  46,414  
Basic net income (loss) per share$0.13  $(0.30) 
Diluted net income (loss) per share$0.12  $(0.30) 
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
March 31,
20202019
Employee stock options975  3,145  
Restricted stock units42  2,419  
Market-based restricted stock units612  677  
Employee stock purchase plan344  414  
 1,973  6,655