Net Income (Loss) per Share of Common Stock
12 Months Ended
Dec. 31, 2016
Earnings Per Share [Abstract]  
Net Income (Loss) per Share of Common Stock
Net (Loss) Income per Share of Common Stock
Basic net (loss) income per share is computed by dividing the net (loss) income attributable to common shares for the period by the weighted average number of common shares outstanding during the period.
Diluted net (loss) income per share attributed to common shares is computed by dividing the net loss attributable to common shares for the period by the weighted average number of common and potential common shares outstanding during the period if the effect of each class of potential common shares is dilutive. Potential common shares include restricted stock units and incremental shares of common stock issuable upon the exercise of stock options.
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



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