XML 28 R18.htm IDEA: XBRL DOCUMENT v3.22.2
Net Income (Loss) Per Share (Tables)
6 Months Ended
Jun. 30, 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 June 30,

 

 

Six Months Ended June 30,

 

 

 

2022

 

 

2021

 

 

2022

 

 

2021

 

 

 

(in thousands, except per share data)

 

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

)