XML 35 R25.htm IDEA: XBRL DOCUMENT v3.22.2
Net Income (Loss) Per Share - Summary of Computation of Basic and Diluted Net Loss (Income) per Share (Details) - USD ($)
$ / shares in Units, shares in Thousands, $ in Thousands
3 Months Ended 6 Months Ended
Jun. 30, 2022
Jun. 30, 2021
Jun. 30, 2022
Jun. 30, 2021
Earnings Per Share [Abstract]        
Net income (loss) attributable to common stockholders $ 12,859 $ 2,023 $ 18,999 $ (1,542)
Weighted-average shares outstanding        
Weighted average shares used to compute basic net income (loss) per share 21,148 18,942 21,035 18,408
Dilutive effect of employee equity incentive plans 1,573 1,951 1,701  
Weighted average shares used to compute diluted net income (loss) per share 22,721 20,893 22,736 18,408
Net income (loss) attributable to common stockholders per share, basic $ 0.61 $ 0.11 $ 0.90 $ (0.08)
Net income (loss) attributable to common stockholders per share, diluted $ 0.57 $ 0.10 $ 0.84 $ (0.08)