XML 25 R16.htm IDEA: XBRL DOCUMENT v3.22.2
Net (Loss) Income Per Share
6 Months Ended
Jun. 30, 2022
Earnings Per Share [Abstract]  
Net (Loss) Income Per Share Net (Loss) Income Per Share
On January 1, 2021, the Company adopted the accounting standard update to simplify the accounting for convertible debt instruments. The Company now uses the if-converted method for its Convertible Notes in calculating the diluted net income (loss) per share, and includes the effect of potential share settlement for the convertible notes, if the effect is dilutive.
Basic earnings per share (“EPS”) is computed based on the weighted average number of shares of common stock outstanding during the period. Diluted EPS is computed based on the weighted average number of shares of common stock plus the effect of dilutive potential common shares outstanding during the period using the treasury stock method and the if-converted method. Dilutive potential common shares include outstanding stock options, restricted stock units, performance stock units, ESPP shares and conversion shares under the convertible notes. The diluted EPS is computed with the assumption that the Company will settle the convertible debt in shares, rather than cash.

As of June 30, 2022, the Company’s Convertible Notes were initially convertible into 6,640,256 shares of common stock. The Company used the if-converted method to calculate the potential dilutive effect of the conversion shares on diluted net income per share for the six months ended June 30, 2022.

The denominator for diluted net income (loss) per share does not include any effect from the capped call transactions the Company entered into concurrently with the issuances of convertible notes, as this effect would be anti-dilutive. In the event of conversion of a convertible note, shares delivered to the Company under the capped call will offset the dilutive effect of the shares that the Company would issue under the convertible notes. In the three and six months ended June 30, 2022, the if-converted method was not applied as the effect would have been anti-dilutive.

For the three and six months ended June 30, 2022, a basic loss per common share and diluted loss per common share are the same in each respective period as the inclusion of any potentially issuable shares would be anti-dilutive.
The following table sets forth the computation of basic and diluted net loss and the weighted average number of shares used in computing basic and diluted net (loss) income per share (in thousands, except per share data):
Three Months Ended
June 30,
Six Months Ended
June 30,
2022202120222021
Numerator:
Net (loss) income used in calculating net (loss) income per share, basic (47,276)$7,746 $(62,418)$7,387 
Interest expense on convertible notes— 758 — 740 
Amortization of debt issuance cost— 209 — 204 
Net (loss) income used in calculating net (loss) income per share, diluted(47,276)8,713 (62,418)8,331 
Denominator:
Weighted average shares of common stock outstanding used in computing net (loss) income per share, basic18,700 17,862 18,392 17,815 
Dilutive effect of incremental shares and share equivalents:
     Convertible notes— 4,167 — 2,625 
Options— 65 — 63 
RSUs— 259 — 270 
PSUs— 77 — 64 
ESPP— 23 — 18 
Weighted average shares of common stock outstanding used in computing net (loss) income per share, diluted18,700 22,453 18,392 20,855 
Net (loss) income per share:
Net (loss) income per share, basic $(2.53)$0.43 $(3.39)$0.41 
Net (loss) income per share, diluted$(2.53)$0.39 $(3.39)$0.40 
The following numbers of shares outstanding, prior to the application of the treasury stock method and the if-converted method, were excluded from the computation of diluted net (loss) income per common share for the periods presented because including them would have had an anti-dilutive effect (in thousands):
Three Months Ended
June 30,
Six Months Ended
June 30,
2022202120222021
Capped call8,724 4,167 8,724 4,167 
Convertible notes6,640 — 6,640 — 
Options to purchase common stock542 189 542 143 
Restricted stock units550 11 550 
Performance stock units489 — 489 — 
Employee stock purchase plan shares29 — 29 — 
Total16,974 4,367 16,974 4,312