XML 46 R29.htm IDEA: XBRL DOCUMENT v3.19.3.a.u2
NET INCOME (LOSS) PER SHARE (Tables)
12 Months Ended
Dec. 31, 2019
Earnings Per Share [Abstract]  
Reconciliation used in computing basic and diluted net income 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 for per share amounts):
 
Years Ended December 31,
 
2019
 
2018
 
2017
Numerator:
 
 
 
 
 
Net income (loss)
$
(20,044
)
 
$
54,343

 
$
(45,291
)
Denominator:
 
 
 
 
 
Weighted-average common stock outstanding, basic
31,529

 
30,459

 
29,179

Dilutive potential common shares:
 
 
 
 
 
Stock options, RSU's, RSAs and ESPP

 
948

 

Shares used in computation of diluted net income (loss) per share
31,529

 
31,407

 
29,179

Basic net income (loss) per share
$
(0.64
)
 
$
1.78

 
$
(1.55
)
Diluted net income (loss) per share
$
(0.64
)
 
$
1.73

 
$
(1.55
)