Quarterly report pursuant to Section 13 or 15(d)

Earnings (loss) per share (Details)

v3.21.2
Earnings (loss) per share (Details) - USD ($)
$ / shares in Units, $ in Thousands
3 Months Ended 9 Months Ended
Sep. 30, 2021
Sep. 30, 2020
Sep. 30, 2021
Sep. 30, 2020
Earnings Per Share [Abstract]        
Antidilutive shares (in shares)     5,397,048  
Numerator:        
Net income (loss) $ (3,456) $ (1,693) $ 8,470 $ (29,551)
Less: Preferred stock dividends 0 35 0 103
Less: Adjustment due to warrant modifications 0 0 402 0
Adjusted net income (loss) available to common stockholders $ (3,456) $ (1,728) $ 8,068 $ (29,654)
Denominator:        
Weighted average shares used in computing net earnings (loss) per share attributable to common stockholders, basic (in shares) 29,466,520 8,160,242 16,799,796 8,134,957
Net earnings (loss) per share attributable to common stockholders, basic (in dollars per share) $ (0.12) $ (0.21) $ 0.48 $ (3.65)
Numerator:        
Net income (loss) $ (3,456) $ (1,693) $ 8,470 $ (29,551)
Less: Preferred stock dividends 0 35 0 103
Less: Adjustment due to warrant modifications 0 0 402 0
Adjusted net income (loss) available to common stockholders $ (3,456) $ (1,728) $ 8,068 $ (29,654)
Denominator:        
Weighted average shares used in computing net earnings (loss) per share attributable to common stockholders, basic (in shares) 29,466,520 8,160,242 16,799,796 8,134,957
Dilutive common stock equivalents (in shares) 0 0 6,885,555 0
Weighted average shares used in computing net earnings (loss) per share attributable to common stockholders, diluted (in shares) 29,466,520 8,160,242 23,685,351 8,134,957
Net earnings (loss) per share attributable to common stockholders, diluted (in shares) $ (0.12) $ (0.21) $ 0.34 $ (3.65)