XML 37 R22.htm IDEA: XBRL DOCUMENT v3.24.0.1
Basic and Diluted Net Loss Per Share
12 Months Ended
Dec. 31, 2023
Earnings Per Share [Abstract]  
Basic and Diluted Net Loss Per Share
Note 14. Basic and Diluted Net Loss Per Share
Basic net loss per share is computed by dividing the net loss by the weighted-average number of shares of common stock outstanding during the period. Diluted net loss per share is computed by giving effect to all potential shares of common stock, stock options, restricted stock units, ESPP, convertible notes, and convertible preferred stock, to the extent dilutive. For the years ended December 31, 2023, 2022 and 2021, all such common stock equivalents have been excluded from diluted net loss per share as the effect to net loss per share would be anti-dilutive.
The following table sets forth the computation of the Company’s basic and diluted net loss per share of common stock (in thousands, except per share data):
Year Ended December 31,
202320222021
Numerator
Net loss$(165,240)$(879,166)$(376,250)
Denominator
Weighted-average common shares outstanding for basic and diluted net loss per share94,912 95,239 91,738 
Basic net income (loss) per share$(1.74)$(9.23)$(4.10)
The following table summarizes the potentially dilutive common shares that were excluded from diluted weighted-average common shares outstanding because including them would have had an anti-dilutive effect (in thousands):
Year Ended December 31,
202320222021
Shares of common stock issuable under equity incentive plans outstanding9,999 4,050 3,866 
Shares of common stock related to convertible preferred stock743 743 107 
Shares of common stock related to convertible notes— — 135 
Potential common shares excluded from diluted net loss per share10,742 4,793 4,108 
    Pursuant to the terms of the respective Convertible Notes Indentures, effective January 1, 2022, the Company made an irrevocable election to settle the principal portion of the Convertible Notes only in cash, with the conversion premium to be settled in cash or shares.
The Company calculates the potential dilutive effect of its 2025 and 2026 Convertible Notes under the if-converted method. Under this method, only the amounts settled in excess of the principal will be considered in diluted earnings per share, in line with the terms of the Convertible Notes Indentures.
The denominator for diluted net income per share does not include any effect from the capped call transactions the Company entered into concurrently with the issuance of the Convertible Notes as this effect would be anti-dilutive. In the event of conversion of the Notes, if shares are delivered to the Company under the capped call, they will offset the dilutive effect of the shares that the Company would issue under the Convertible Notes.