XML 51 R34.htm IDEA: XBRL DOCUMENT v3.22.0.1
Net Income (Loss) Per Share - Summary of Computation 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
Earnings Per Share [Abstract]      
Net income (loss) attributable to common stockholders $ 32,277 $ (9,372) $ (6,607)
Weighted-average shares outstanding      
Weighted average shares used to compute basic net income (loss) per share 19,006 16,064 10,558
Dilutive effect of employee equity incentive plans 2,138    
Weighted average shares used to compute diluted net income (loss) per share 21,144 16,064 10,558
Net income (loss) attributable to common stockholders per share, basic $ 1.70 $ (0.58) $ (0.63)
Net income (loss) attributable to common stockholders per share, diluted $ 1.53 $ (0.58) $ (0.63)