XML 47 R29.htm IDEA: XBRL DOCUMENT v3.22.4
NET INCOME (LOSS) PER SHARE
12 Months Ended
Dec. 31, 2022
Earnings Per Share [Abstract]  
NET INCOME (LOSS) PER SHARE
20. NET INCOME (LOSS) PER SHARE

The following table sets forth the computation of basic and diluted net income (loss) per common share for the periods indicated (in thousands, except per share data):
 Year ended December 31,
 202220212020
Numerator:
Income (loss) from continuing operations$(35,236)$171,791 $95,127 
Less: Preferred stock dividends—declared and accumulated1,697 729 731 
Undistributed income (loss) from continuing operations(36,933)171,062 94,396 
Less: Undistributed income (loss) allocated to participating securities— 16,409 6,427 
Net income (loss) from continuing operations attributable to common stockholders$(36,933)$154,653 $87,969 
Income (loss) from discontinued operations$— $217,581 $(39,126)
Less: Undistributed income (loss) allocated to participating securities— 20,870 (2,664)
Net income (loss) from discontinued operations attributable to common stockholders— 196,711 (36,462)
Net income (loss) attributable to common stockholders$(36,933)$351,364 $51,507 
Denominator:
Weighted average shares of common shares outstanding—basic44,323 42,981 41,217 
Effect of dilutive securities:   
Restricted stock awards— 351 390 
Weighted average shares of common shares outstanding—diluted44,323 43,332 41,607 
Net income (loss) from continuing operations per share of common stock:
Basic$(0.83)$3.60 $2.13 
Diluted$(0.83)$3.57 $2.12 
Net income (loss) from discontinued operations per share of common stock:
Basic$— $4.58 $(0.88)
Diluted$— $4.54 $(0.88)
Net income (loss) per share of common stock:
Basic$(0.83)$8.18 $1.25 
Diluted$(0.83)$8.11 $1.24 

The following shares were excluded from the calculation of diluted shares outstanding as their effect would have been anti-dilutive (in thousands):
 Year ended December 31,
 202220212020
Restricted stock units781 170 228 
Employee stock purchase plan116 24 —