XML 21 R8.htm IDEA: XBRL DOCUMENT v3.21.2
Net Income (Loss) Per Share
6 Months Ended
Jun. 30, 2021
Earnings Per Share [Abstract]  
Net Income (Loss) Per Share

Note 2. Net Income (Loss) 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,

 

 

 

2021

 

 

2020

 

 

2021

 

 

2020

 

 

 

(in thousands, except per share data)

 

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

)