The following table presents the computation of basic and diluted income (loss) per share for the three and six months ended June 30, 2022 and 2021 (in thousands, except per share data):
|
|
Three Months Ended June 30,
|
|
|
Six Months Ended June 30,
|
|
|
|
2022
|
|
|
2021
|
|
|
2022
|
|
|
2021
|
|
Income (loss) from continuing operations
|
|
$
|
528
|
|
|
$
|
(1,578
|
)
|
|
$
|
(4,499
|
)
|
|
$
|
(3,994
|
)
|
Loss from discontinued operations, net of taxes
|
|
|
—
|
|
|
|
(1,251
|
)
|
|
|
—
|
|
|
|
(17,372
|
)
|
Net income (loss)
|
|
$
|
528
|
|
|
$
|
(2,829
|
)
|
|
$
|
(4,499
|
)
|
|
$
|
(21,366
|
)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Basic and diluted income (loss) from continuing operations
|
|
$
|
0.03
|
|
|
$
|
(0.10
|
)
|
|
$
|
(0.29
|
)
|
|
$
|
(0.26
|
)
|
Basic and diluted loss from discontinued operations
|
|
|
—
|
|
|
|
(0.08
|
)
|
|
|
—
|
|
|
|
(1.12
|
)
|
Basic and diluted income (loss) per common share
|
|
$
|
0.03
|
|
|
$
|
(0.18
|
)
|
|
$
|
(0.29
|
)
|
|
$
|
(1.38
|
)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Weighted average shares
|
|
|
15,836
|
|
|
|
15,528
|
|
|
|
15,750
|
|
|
|
15,466
|
|
|