XML 31 R21.htm IDEA: XBRL DOCUMENT v3.23.1
NET INCOME LOSS PER SHARE
3 Months Ended
Mar. 31, 2023
Earnings Per Share [Abstract]  
Earnings Per Share, Policy [Policy Text Block]
13. 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):
 Three months ended
March 31,
 20232022
Numerator:
Net income (loss)$(10,307)$10,123 
Less: Preferred stock dividends—declared and accumulated— 182 
Undistributed income (loss)(10,307)9,941 
Less: Undistributed income (loss) allocated to participating securities— 952 
Net income (loss) attributable to common stockholders$(10,307)$8,989 
Denominator:
Weighted average shares of common stock outstanding—basic45,067 43,052 
Effect of dilutive securities: 
Restricted stock awards— 230 
Weighted average shares of common stock outstanding—diluted45,067 43,282 
Net income (loss) per share of common stock:
Basic$(0.23)$0.21 
Diluted$(0.23)$0.21 
 
The following shares were excluded from the calculation of diluted shares outstanding as their effect would have been anti-dilutive (in thousands):
 Three months ended
March 31,
 20232022
Restricted stock units1,489 506 
Employee stock purchase plan117 64