The following table presents the computation of basic and diluted income (loss) per share for the three and six months ended June 30, 2021 and 2020 (in thousands, except per share data):
|
|
Three Months Ended
June 30,
|
|
|
Six Months Ended
June 30,
|
|
|
|
2021
|
|
|
2020
|
|
|
2021
|
|
|
2020
|
|
Income (loss) from continuing operations
|
|
$
|
(1,700
|
)
|
|
$
|
(4,210
|
)
|
|
$
|
(4,220
|
)
|
|
$
|
2,014
|
|
Loss from discontinued operations, net of taxes
|
|
|
(1,251
|
)
|
|
|
(1,327
|
)
|
|
|
(17,372
|
)
|
|
|
(1,646
|
)
|
Net income (loss)
|
|
$
|
(2,951
|
)
|
|
$
|
(5,537
|
)
|
|
$
|
(21,592
|
)
|
|
$
|
368
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Weighted-average shares(1)
|
|
|
15,528
|
|
|
|
15,301
|
|
|
|
15,466
|
|
|
|
15,288
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Basic and diluted income (loss) from continuing operations
|
|
$
|
(0.11
|
)
|
|
$
|
(0.28
|
)
|
|
$
|
(0.27
|
)
|
|
$
|
0.13
|
|
Basic and diluted loss from discontinued operations
|
|
|
(0.08
|
)
|
|
|
(0.09
|
)
|
|
|
(1.12
|
)
|
|
|
(0.11
|
)
|
Basic and diluted income (loss) per share
|
|
$
|
(0.19
|
)
|
|
$
|
(0.36
|
)
|
|
$
|
(1.40
|
)
|
|
$
|
0.02
|
|
__________________
(1) We have no dilutive securities.
|