Net Income (Loss) per Share of Common Stock (Tables)
12 Months Ended
Dec. 31, 2016
Earnings Per Share [Abstract]  
Basic and Diluted Net Income (Loss) per Share of Common Stock
The following table sets forth the computation of our basic and diluted net (loss) income per share of common stock (in thousands, except for per share amounts).
 
Year Ended December 31,
 
2016
 
2015
Numerator:
 
 
 
Net loss from continuing operations
$
(26,470
)
 
$
(6,263
)
Income from discontinued operations, net of tax

 
8,418

Net (loss) income
$
(26,470
)
 
$
2,155

Shares used in computing net (loss) income per share of common stock:
 
 
 
Basic
16,709

 
17,239

Diluted
16,709

 
17,296

Net (loss) income per share of common stock:
 
 
 
Basic:
 
 
 
Continuing operations
$
(1.58
)
 
$
(0.36
)
Discontinued operations
$

 
$
0.49

Total
$
(1.58
)
 
$
0.13

Diluted:
 
 
 
Continuing operations
$
(1.58
)
 
$
(0.36
)
Discontinued operations
$

 
$
0.49

Total
$
(1.58
)
 
$
0.13

Computation of Diluted Net (Loss) Income per Share of Common Stock
The following outstanding shares of potentially dilutive securities were excluded from the computation of diluted net (loss) income per share of common stock for the periods presented because including them would have been antidilutive (in thousands):

 
Year Ended December 31,
 
2016
 
2015
Stock options to purchase common stock and restricted stock units
2,587

 
2,497