v3.24.1.u1
Net Loss Per Share Attributable to Common Stockholders
3 Months Ended
Mar. 31, 2024
Earnings Per Share [Abstract]  
Net Loss Per Share Attributable to Common Stockholders Net Loss Per Share Attributable to Common Stockholders
Basic net loss per share is determined by dividing net loss by the weighted-average shares outstanding for the period. We analyze the potential dilutive effect of stock options, unvested restricted stock, RSUs, our ESPP, and warrants to purchase common stock, during periods we generate net income, or when income is recognized related to changes in fair value of warrant liabilities.

During the three months ended March 31, 2024, we recorded a loss on fair value remeasurement of our warrant liability, which was excluded from the calculation of diluted earnings per share due to its anti-dilutive effect.

During the three months ended March 31, 2023, we recorded a gain on fair value remeasurement of warrant liabilities, which was added back to net loss to adjust for the dilutive impact of the warrants. We adjusted the weighted-average shares outstanding for the incremental dilutive shares using the treasury stock method.

The following table sets forth the computation of basic and diluted net loss per share attributable to common stockholders for the three months ended March 31, 2024 and 2023 (in millions, except per share amounts):

Three Months Ended March 31,
20242023
Numerator:
Net loss, basic$(83)$(81)
Gain on change in fair value of warrant liability— 3 
Net loss, diluted$(83)$(84)
Denominator:
Weighted-average shares of common stock outstanding—basic
547 524 
Effect of dilutive securities:
Warrants to purchase Class B common stock
— 1 
Weighted-average shares of common stock outstanding—diluted
547 525 
Net loss per share, basic$(0.15)$(0.15)
Net loss per share, diluted$(0.15)$(0.16)
We excluded the following potential shares of common stock from the computation of diluted net loss per share because including them would have an anti-dilutive effect for the three months ended March 31, 2024 and 2023:
Three Months Ended March 31,
20242023
Options to purchase Class A common stock and Class B common stock43 53 
Unvested restricted stock— 2 
Unvested restricted stock units32 38 
Warrants to purchase Class B common stock
7 — 
82 93