XML 40 R21.htm IDEA: XBRL DOCUMENT v3.19.3.a.u2
Net Income (Loss) per Share
12 Months Ended
Dec. 31, 2019
Earnings Per Share [Abstract]  
Net Income (Loss) per Share
Net Income (Loss) per Share
The following table summarizes the calculation of basic and diluted net income (loss) per share (in thousands, except per share amounts):
 
Years Ended December 31,
 
2019
 
2018
Net income (loss)
$
56,823

 
$
(27,379
)
 
 
 
 
Weighted-average common shares outstanding, basic
33,080

 
32,567

Dilutive effect of outstanding stock options
1,121

 

Dilutive effect of unvested RSAs
1

 

Dilutive effect of unvested RSUs
92

 

Weighted-average common shares outstanding, diluted
34,294

 
32,567

 
 
 
 
Net income (loss) per share, basic
$
1.72

 
$
(0.84
)
Net income (loss) per share, diluted
$
1.66

 
$
(0.84
)

The following weighted-average amounts were excluded from the calculation of diluted net income (loss) per share because their effect would be anti-dilutive (in thousands):
 
Year Ended December 31,
 
2019
 
2018
Outstanding stock options
3,727

 
5,573

Unvested RSAs

 
10

Unvested RSUs
24

 
146

Total
3,751

 
5,729