XML 39 R27.htm IDEA: XBRL DOCUMENT v3.21.2
Net (Loss) Income per Share (Tables)
6 Months Ended
Jun. 30, 2021
Earnings Per Share [Abstract]  
Basic and Diluted Net Income per Share
Basic and diluted net (loss) income per share was calculated as follows (in thousands, except per share data):
 For the three months ended
June 30,
For the six months ended
June 30,
2021202020212020
Numerator:
Net (loss) income$(4,681)$(9,161)$(26,036)$12,384 
Denominator:
Weighted-average shares used to compute net (loss) income per share—basic51,449 51,187 51,362 51,147 
Dilutive restrictive stock awards (1)
— — — 108 
Weighted-average shares used to compute net (loss) income per share—diluted51,449 51,187 51,362 51,255 
Net (loss) income per share—basic $(0.09)$(0.18)$(0.51)$0.24 
Net (loss) income per share—diluted$(0.09)$(0.18)$(0.51)$0.24 
(1) In periods of net loss, the number of shares used to calculate diluted earnings per share is the same as basic earnings per
share; therefore, the effect of dilutive securities is zero for such periods.