XML 93 R78.htm IDEA: XBRL DOCUMENT v3.22.1
Net (Loss) Income Per Share Attributable to Common Stockholders - Earnings Per Share (Details) - USD ($)
$ / shares in Units, shares in Thousands, $ in Thousands
12 Months Ended
Dec. 31, 2021
Dec. 31, 2020
Dec. 31, 2019
Numerator:      
Net (loss) income $ (108,664) $ 9,896 $ 7,443
Less: amounts attributable to redeemable convertible preferred stock 0 (2,673) (2,021)
Net (loss) income attributable to common stockholders—basic (108,664) 7,223 5,422
Add: undistributed earnings reallocated to common stockholders 0 39 54
Net (loss) income attributable to common stockholders—diluted $ (108,664) $ 7,262 $ 5,476
Denominator:      
Weighted-average common stock used in computing net (loss) income per share attributable to common stockholders—basic (in shares) 161,424 124,709 123,826
Weighted-average common stock used in computing net (loss) income per share attributable to common stockholders—diluted (in shares) 161,424 127,259 128,546
Net (loss) income per attributable to common stockholders - basic (in dollars per share) $ (0.67) $ 0.06 $ 0.04
Net (loss) income per attributable to common stockholders - diluted (in dollars per share) $ (0.67) $ 0.06 $ 0.04
Options to purchase common stock      
Denominator:      
Effect of potential dilutive securities (in shares) 0 2,444 4,161
Restricted stock units      
Denominator:      
Effect of potential dilutive securities (in shares) 0 106 559