v3.26.1
Net Income (Loss) per Share
6 Months Ended
Jun. 30, 2026
Earnings Per Share [Abstract]  
Net Income (Loss) per Share

3. Net Income (Loss) per Share

Basic net income (loss) per share is computed by dividing net income (loss) by the weighted average number of common shares outstanding for the period. Diluted net income (loss) per share is computed by giving effect to all potential dilutive common stock equivalents outstanding for the period. For purposes of this calculation, options to purchase common stock, restricted stock units (“RSUs”), shares issued pursuant to the Employee Stock Purchase Plan (“ESPP”), performance restricted stock units (“PSUs”), and the Conversion Options of the 2025 Notes (as such terms are defined in Note 10) are considered to be potential common stock equivalents.

A reconciliation of the denominator used in the calculation of basic and diluted net income (loss) per share is as follows:

 

Three Months Ended June 30,

 

 

Six Months Ended June 30,

 

 

2026

 

 

2025

 

 

2026

 

 

2025

 

Net income (loss)

$

43,338

 

 

$

(3,258

)

 

$

75,892

 

 

$

(25,051

)

Weighted-average common shares outstanding — basic

 

50,569

 

 

 

52,696

 

 

 

51,525

 

 

 

52,427

 

Dilutive effect of share equivalents resulting from stock
   options, RSUs, ESPP, PSUs, and the Conversion
   Options

 

46

 

 

 

 

 

 

39

 

 

 

 

Weighted-average common shares, outstanding — diluted

 

50,615

 

 

 

52,696

 

 

 

51,564

 

 

 

52,427

 

Net income (loss) per share, basic

$

0.86

 

 

$

(0.06

)

 

$

1.47

 

 

$

(0.48

)

Net income (loss) per share, diluted

$

0.86

 

 

$

(0.06

)

 

$

1.47

 

 

$

(0.48

)

The Company uses the treasury stock method and the average market price per share during the period for calculating any potential dilutive effect of the stock options, RSUs, ESPPs, and PSUs. The Company used the if-converted method when calculating any potential dilutive effect of the Conversion Options, which assumes conversion of outstanding convertible securities at the beginning of the reporting period or date of issuance, if the convertible security was issued during the period.

Since the Company incurred net loss for the three and six months ended June 30, 2025, diluted net loss per share is the same as basic net loss per share. All of the Company’s outstanding stock options, RSUs, PSUs, and shares issuable under the ESPP were excluded in the calculation of diluted net loss per share as the effect would be anti-dilutive.

The weighted-average number of shares outstanding used in the computation of diluted net income (loss) per share does not include the effect of the following potentially dilutive common stock, as the effect would have been anti-dilutive:

 

 

Three Months Ended June 30,

Six Months Ended June 30,

 

 

 

2026

 

 

2025

 

 

2026

 

 

2025

 

 

 

(in thousands)

 

Options to purchase common shares

 

 

95

 

 

 

228

 

 

 

94

 

 

 

228

 

RSUs and PSUs

 

 

2,745

 

 

 

1,802

 

 

 

2,003

 

 

 

1,802

 

ESPP

 

 

136

 

 

 

42

 

 

 

139

 

 

 

42