v3.26.1
Net income (loss) per share
6 Months Ended
Jun. 30, 2026
Net income (loss) per share  
Net income (loss) per share

7.        Net income (loss) per share

Basic and diluted net income (loss) per share is computed by dividing net income (loss) by the weighted-average number of common shares outstanding.

The following tables set forth the computation of basic and diluted net income (loss) per share:

Three Months Ended June 30, 

Six Months Ended June 30, 

  ​ ​ ​

2026

  ​ ​ ​

2025

  ​ ​ ​

2026

  ​ ​ ​

2025

  ​ ​ ​

Numerator:

Net income (loss), basic

$

83,496

  ​

$

(64,849)

  ​

$

80,687

  ​

$

801,713

  ​

Add: Interest expense, net of tax, on the Company's 2026 and 2031 Convertible Notes

959

2,045

2,161

Net income (loss), diluted

$

84,455

$

(64,849)

$

82,732

$

803,874

Denominator:

Weighted-average number of shares outstanding, basic

83,006,808

78,151,240

82,765,248

78,438,830

  ​

Effect of dilutive securities:

Common stock issuable under the Company's equity incentive plans

 

3,551,404

 

3,591,103

2,589,633

Common stock issuable under the Company's 2026 and 2031 Convertible Notes

5,461,797

5,467,922

5,474,115

Weighted-average common shares outstanding, diluted

92,020,009

78,151,240

91,824,273

86,502,578

Net income (loss) per common share, basic

$

1.01

$

(0.83)

*

$

0.97

$

10.22

Net income (loss) per common share, diluted

$

0.92

$

(0.83)

*

$

0.90

$

9.29

*   In the three months ended June 30, 2025, the Company experienced a net loss and therefore did not report any dilutive share impact.

The following table shows historical common share equivalents outstanding, which are not included in the above calculation, as the effect of their inclusion is anti-dilutive during each period. The anti-dilutive shares are calculated as the unweighted outstanding shares as of the reporting period end date that are antidilutive on a year to date basis using the treasury stock method.

As of June 30, 

  ​ ​ ​

2026

  ​ ​ ​

2025

  ​ ​ ​

Stock options

807,769

3,494,565

Unvested restricted stock units

 

1,206,529

 

83,657

 

Unvested performance based restricted stock units

93,478

Total

 

2,107,776

 

3,578,222