XML 46 R24.htm IDEA: XBRL DOCUMENT v3.21.2
NET INCOME (LOSS) PER SHARE (Tables)
6 Months Ended
Jun. 30, 2021
Earnings Per Share [Abstract]  
Reconciliation of the numerators and denominators used in computing basic and diluted net income (loss) per share
The following is a reconciliation of the numerators and denominators used in computing basic and diluted net income (loss) per share (in thousands, except per share amounts):

Three Months Ended
June 30,
Six Months Ended
June 30,
 2021202020212020
Numerator:
Net income (loss)$5,341 $(712)$7,377 $(5,540)
Denominator:
Weighted-average common stock outstanding, basic30,982 27,634 29,787 29,320 
  Dilutive effect of potential common shares:
  Stock options, stock awards and ESPP265 — 466 — 
Total shares, diluted31,247 27,634 30,253 29,320 
Basic net income (loss) per share$0.17 $(0.03)$0.25 $(0.19)
Diluted net income (loss) per share$0.17 $(0.03)$0.24 $(0.19)
Schedule of Antidilutive Securities Excluded from Computation of Earnings Per Share
Three Months Ended
June 30,
Six Months Ended
June 30,
2021202020212020
Stock options490 1,2621151,370
RSUs and RSAs37687
490 1,6381151,457