Quarterly report pursuant to Section 13 or 15(d)

Net income (loss) per share (Details)

v3.21.2
Net income (loss) per share (Details) - USD ($)
$ / shares in Units, $ in Thousands
3 Months Ended 6 Months Ended
Jun. 30, 2021
Jun. 30, 2020
Jun. 30, 2021
Jun. 30, 2020
Earnings Per Share [Abstract]        
Antidilutive shares (in shares) 3,471,245   4,474,577  
Numerator:        
Net and comprehensive income (loss) $ 24,776 $ (18,404) $ 11,926 $ (27,858)
Less: Preferred stock dividends 0 34 0 68
Less: Adjustment due to warrant modifications 0 0 402 0
Adjusted net and comprehensive income (loss) available to common stockholders $ 24,776 $ (18,438) $ 11,524 $ (27,926)
Denominator:        
Weighted average shares used in computing net earnings (loss) per share attributable to common stockholders, basic (in shares) 11,126,909 8,156,618 10,361,462 8,122,176
Net earnings (loss) per share attributable to common stockholders, basic (in dollars per share) $ 2.23 $ (2.26) $ 1.11 $ (3.44)
Numerator:        
Net and comprehensive income (loss) $ 24,776 $ (18,404) $ 11,926 $ (27,858)
Less: Preferred stock dividends 0 34 0 68
Less: Adjustment due to warrant modifications 0 0 402 0
Add: Interest expense on convertible notes, net 656 0 0 0
Adjusted net and comprehensive income (loss) available to common stockholders $ 25,432 $ (18,438) $ 11,524 $ (27,926)
Denominator:        
Weighted average shares used in computing net earnings (loss) per share attributable to common stockholders, diluted (in shares) 21,389,413 8,156,618 20,498,829 8,122,176
Net earnings (loss) per share attributable to common stockholders, diluted (in shares) $ 1.19 $ (2.26) $ 0.56 $ (3.44)