XML 28 R18.htm IDEA: XBRL DOCUMENT v3.22.1
Net Income (Loss) Per Share (Tables)
3 Months Ended
Mar. 31, 2022
Earnings Per Share [Abstract]  
Summary of Computation of Basic and Diluted Net Loss (Income) per Share

The following table summarizes the computation of basic and diluted net loss (income) per share attributable to common stockholders of the Company:

 

 

 

Three Months Ended March 31,

 

 

 

2022

 

 

2021

 

 

 

(in thousands, except per share data)

 

Net income (loss) attributable to common stockholders

 

$

6,140

 

 

$

(3,565

)

Weighted-average shares outstanding

 

 

 

 

 

 

Weighted average shares used to compute basic net income (loss) per share

 

 

20,921

 

 

 

17,868

 

Dilutive effect of employee equity incentive plans

 

 

1,782

 

 

 

 

Weighted average shares used to compute diluted net income (loss) per share

 

 

22,703

 

 

 

17,868

 

Net income (loss) attributable to common stockholders per share, basic

 

$

0.29

 

 

$

(0.20

)

Net income (loss) attributable to common stockholders per share, diluted

 

$

0.27

 

 

$

(0.20

)