Net loss per share attributable to common stockholders |
12 Months Ended | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Dec. 31, 2020 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Net loss per share attributable to common stockholders | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Net loss per share attributable to common stockholders | 21. 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:
For the years ended December 31, 2020, 2019 and 2018, 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. For the years ended December 31, 2020, 2019, and 2018, we also excluded the shares that would be issuable assuming conversion of all of the Convertible Notes and the shares for the capped call as their effect would be anti-dilutive. Diluted EPS for our Convertible Notes is calculated under the treasury method in accordance with ASC 260, Earnings Per Share, as we have 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. |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||