v3.24.2.u1
Net Loss per Share
6 Months Ended
Jun. 30, 2024
Earnings Per Share [Abstract]  
Net Loss per Share

3. Net Loss per Share

Basic net loss per share is computed by dividing net loss by the weighted average number of common shares outstanding for the period. Diluted net 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 Option of the 2025 Notes (the “Conversion Options”) (Note 9) are considered to be potential common stock equivalents.

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

 

Three Months Ended June 30,

 

 

Six Months Ended June 30,

 

 

2024

 

 

2023

 

 

2024

 

 

2023

 

Net loss

$

(14,435

)

 

$

(111,803

)

 

$

(8,501

)

 

$

(148,523

)

Weighted-average common shares outstanding — basic

 

51,005

 

 

 

49,703

 

 

 

50,847

 

 

 

49,550

 

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

 

—

 

 

 

—

 

 

 

—

 

 

 

—

 

Weighted-average common shares, outstanding — diluted

 

51,005

 

 

 

49,703

 

 

 

50,847

 

 

 

49,550

 

Net loss per share, basic and diluted

$

(0.28

)

 

$

(2.25

)

 

$

(0.17

)

 

$

(3.00

)

Since the Company incurred net losses for each period presented, 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, as well as the Conversion Options were excluded in the calculation of diluted net loss per share as the effect would be anti-dilutive.

The Company uses 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.

The following table contains all potentially dilutive common stock equivalents.

 

 

As of June 30,

 

 

 

2024

 

 

2023

 

 

 

(in thousands)

 

Options to purchase common shares

 

 

360

 

 

 

493

 

RSUs

 

 

1,937

 

 

 

2,267

 

Conversion Option of the 2025 Notes

 

 

1,625

 

 

 

1,625

 

PSUs

 

 

34

 

 

 

—

 

ESPP

 

 

40

 

 

 

24