XML 59 R48.htm IDEA: XBRL DOCUMENT v3.22.2.2
Earnings Per Share - Computation of Net Earnings (Loss) per Share (Details) - USD ($)
$ / shares in Units, $ in Thousands
3 Months Ended 9 Months Ended
Sep. 30, 2022
Jun. 30, 2022
Mar. 31, 2022
Sep. 30, 2021
Jun. 30, 2021
Mar. 31, 2021
Sep. 30, 2022
Sep. 30, 2021
EARNINGS PER SHARE                
Net income (loss) $ 457 $ (5,191) $ (13,069) $ 8,046 $ 72,843 $ 15,662 $ (17,803) $ 96,551
Adjustment for interest expense recognized on convertible senior notes:               3,504
Net income (loss) - diluted $ 457     $ 8,046     $ (17,803) $ 100,055
Weighted-average shares outstanding - basic 34,058,802     35,373,909     33,912,832 35,210,966
Weighted-average shares outstanding - diluted (in shares) 34,570,319     36,261,174     33,912,832 41,274,190
Earnings (loss) per share - basic $ 0.01     $ 0.23     $ (0.52) $ 2.74
Earnings (loss) per share - diluted $ 0.01     $ 0.22     $ (0.52) $ 2.42
Stock options                
EARNINGS PER SHARE                
Effect of dilutive securities: 191,454     435,099       564,171
Restricted stock units                
EARNINGS PER SHARE                
Effect of dilutive securities: 320,063     333,572       405,632
Employee stock purchase plan                
EARNINGS PER SHARE                
Effect of dilutive securities:       1,829       3,403
Warrants                
EARNINGS PER SHARE                
Effect of dilutive securities:       116,765       164,884
Convertible senior notes                
EARNINGS PER SHARE                
Effect of dilutive securities:               4,925,134