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

 

 

 

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

)

 

Potential dilutive securities include dilutive common shares from share-based awards attributable to the assumed exercise of restricted stock unit awards using the treasury stock method. Under the treasury stock method, potential common shares outstanding are not included in the computation of diluted net income per share if their effect is anti-dilutive.
 

Anti-dilutive potential shares from share-based awards are excluded from the calculation of diluted earnings per share if either their exercise price exceeded the average market price during the period or the share-based awards were determined to be anti-dilutive based on applying the treasury stock method. During the three months ended June 30, 2022 and 2021, the Company had 231,349 and 5,198 potential shares from share-based awards that are anti-dilutive, respectively. During the six months ended June 30, 2022 and 2021, the Company had 211,667 and 2,078,581 potential shares from share-based awards that are anti-dilutive, respectively. Anti-dilutive potential shares from share-based awards are excluded from the calculation of diluted loss per share for the six months ended June 30, 2021 due to the net loss reported in this period.