XML 36 R23.htm IDEA: XBRL DOCUMENT v3.21.2
NET INCOME (LOSS) PER SHARE (Tables)
9 Months Ended
Sep. 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
September 30,
Nine Months Ended
September 30,
 2021202020212020
Numerator:
Net income (loss)$3,771 $2,855 $11,148 $(2,685)
Denominator:
Weighted-average common stock outstanding, basic32,474 26,898 30,693 28,507 
  Dilutive effect of potential common shares:
  Stock options, stock awards and ESPP138 236 372 — 
Total shares, diluted32,612 27,134 31,065 28,507 
Basic net income (loss) per share$0.12 $0.11 $0.36 $(0.09)
Diluted net income (loss) per share$0.12 $0.11 $0.36 $(0.09)
Schedule of Antidilutive Securities Excluded from Computation of Earnings Per Share
Three Months Ended
September 30,
Nine Months Ended
September 30,
2021202020212020
Stock options342 1,368971,367
RSUs and RSAs1811,197
342 1,549972,564