XML 106 R88.htm IDEA: XBRL DOCUMENT v3.22.0.1
EARNINGS PER SHARE - Schedule of Basic and Diluted Net Income (Loss) Per Share (Details) - USD ($)
$ / shares in Units, shares in Thousands, $ in Thousands
12 Months Ended
Dec. 31, 2021
Dec. 31, 2020
Dec. 31, 2019
Antidilutive Securities Excluded from Computation of Earnings Per Share [Line Items]      
Net income (loss) $ 13,254 $ (29,271) $ (5,924)
Basic (in shares) 101,484 96,971 89,575
Diluted (in shares) 106,171 96,971 89,575
Basic (in dollars per share) $ 0.13 $ (0.30) $ (0.07)
Diluted (in dollars per share) $ 0.12 $ (0.30) $ (0.07)
Stock options      
Antidilutive Securities Excluded from Computation of Earnings Per Share [Line Items]      
Weighted average number diluted shares outstanding adjustment (in shares) 292 0 0
Restricted stock units      
Antidilutive Securities Excluded from Computation of Earnings Per Share [Line Items]      
Weighted average number diluted shares outstanding adjustment (in shares) 1,525 0 0
Stock purchase rights under the ESPP      
Antidilutive Securities Excluded from Computation of Earnings Per Share [Line Items]      
Weighted average number diluted shares outstanding adjustment (in shares) 42 0 0
2020 Notes      
Antidilutive Securities Excluded from Computation of Earnings Per Share [Line Items]      
Weighted average number diluted shares outstanding adjustment (in shares) 2,175 0 0
2024 Notes      
Antidilutive Securities Excluded from Computation of Earnings Per Share [Line Items]      
Weighted average number diluted shares outstanding adjustment (in shares) 653 0 0