v3.21.1
Net loss per share attributable to common stockholders
3 Months Ended
Mar. 31, 2021
Net loss per share attributable to common stockholders  
Net loss per share attributable to common stockholders

15. Net loss per share attributable to common stockholders

The following table sets forth the computation of basic and diluted net loss per share attributable to common stockholders:

Three Months Ended

March 31, 

    

2021

    

2020

(in thousands)

Numerator:

Net loss attributable to common stockholders, basic and diluted

$

(6,444)

$

(4,633)

Denominator:

Weighted average common stock, basic and diluted

44,690

44,272

Net loss per share attributable to common stockholders:

Basic and diluted

$

(0.14)

$

(0.10)

For the three months ended March 31, 2021 and 2020, we excluded all assumed exercises of stock options and the assumed issuance of common stock under RSUs from the computation of diluted net loss per share as the effect would be anti-dilutive due to the net loss for the periods. Prior to the adoption of ASU 2020-06, diluted EPS for our Convertible Notes was calculated under the treasury method in accordance with ASC 260, Earnings Per Share, as we had the intent and ability to settle the principal amount of the Convertible Notes in cash. Accordingly, no shares associated with the Convertible Notes were included in the weighted average number of common stock outstanding for any periods presented. Subsequent to the adoption of ASU 2020-06, diluted EPS for our Convertible Notes is calculated under the if-converted method. For the three months ended March 31, 2021 and 2020, we excluded the shares that would be issuable assuming conversion of all the Convertible Notes and the shares for the capped call as their effect would be anti-dilutive under both the if-converted method and the treasury method, respectively.