v3.22.4
NET INCOME PER SHARE - Calculation (Details) - USD ($)
$ / shares in Units, shares in Thousands, $ in Thousands
12 Months Ended
Dec. 31, 2022
Dec. 31, 2021
Dec. 31, 2020
Numerator:      
Net income—basic $ 15,909 $ 41,980 $ 145,523
Denominator:      
Weighted average common shares outstanding - basic (in shares) 45,521 44,262 42,671
Computation of diluted securities:      
Weighted average number of shares outstanding - diluted (in shares) 46,538 45,630 43,682
Net income per share:      
Basic net income per common share (in dollars per share) $ 0.35 $ 0.95 $ 3.41
Diluted net income per common share (in dollars per share) $ 0.34 $ 0.92 $ 3.33
Stock options      
Computation of diluted securities:      
Dilutive effect of share based compensation arrangements (in shares) 787 1,030 783
RSUs      
Computation of diluted securities:      
Dilutive effect of share based compensation arrangements (in shares) 226 298 227
Conversion Premium on 2022 Notes      
Computation of diluted securities:      
Dilutive effect of convertible debt securities (in shares) 0 38 0
ESPP      
Computation of diluted securities:      
Dilutive effect of share based compensation arrangements (in shares) 4 2 1