XML 40 R27.htm IDEA: XBRL DOCUMENT v3.21.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, 2021
Jun. 30, 2020
Jun. 30, 2021
Jun. 30, 2020
Earnings Per Share [Abstract]        
Net income (loss) attributable to common stockholders $ 2,023 $ (5,603) $ (1,542) $ (10,696)
Weighted-average shares outstanding        
Weighted average shares used to compute basic net income (loss) per share 18,942 15,371 18,408 15,191
Dilutive effect of employee equity incentive plans 1,951      
Weighted average shares used to compute diluted net income (loss) per share 20,893 15,371 18,408 15,191
Net income (loss) attributable to common stockholders per share, basic $ 0.11 $ (0.36) $ (0.08) $ (0.70)
Net income (loss) attributable to common stockholders per share, diluted $ 0.10 $ (0.36) $ (0.08) $ (0.70)