| Schedule of Computation of Basic and Diluted Net Income (Loss) Per Share |
The following table sets forth the computation of basic and diluted net income (loss) per share of common stock (in thousands, except per share data):
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Three months ended September 30,
|
|
Nine months ended September 30,
|
|
|
|
2016
|
|
2015
|
|
2016
|
|
2015
|
|
Net (loss) income
|
|
$
|
(8,349)
|
|
$
|
(13,805)
|
|
$
|
4,209
|
|
$
|
(34,962)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Weighted average common shares outstanding—basic
|
|
|
20,236
|
|
|
20,021
|
|
|
20,279
|
|
|
19,879
|
|
Dilutive effect of common stock equivalents
|
|
|
—
|
|
|
—
|
|
|
232
|
|
|
—
|
|
Weighted average common shares outstanding—diluted
|
|
|
20,236
|
|
|
20,021
|
|
|
20,511
|
|
|
19,879
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Net (loss) income per share
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Basic
|
|
$
|
(0.41)
|
|
$
|
(0.69)
|
|
$
|
0.21
|
|
$
|
(1.76)
|
|
Diluted
|
|
$
|
(0.41)
|
|
$
|
(0.69)
|
|
$
|
0.21
|
|
$
|
(1.76)
|
|