XML 32 R15.htm IDEA: XBRL DOCUMENT
v3.24.0.1

Earnings Per Share | 12 Months Ended
--- | ---
Dec. 31, 2023
Earnings Per Share |
Earnings Per Share | 6. Earnings Per Share ​ Basic earnings per common stock are computed by dividing net loss by the weighted average number of common stock outstanding during the reporting period. After January 1, 2021, the date of the adoption of ASU 2020-06, in periods when we have net income, the shares of our common stock subject to the convertible notes outstanding during the period will be included in our diluted earnings per share under the if-converted method. Since the Company is in a net loss position, all common stock equivalents would be considered anti-dilutive and are therefore not included in the determination of diluted earnings per share. Accordingly, basic and diluted loss per share are the same. ​ The following table provides the components of the calculations of basic and diluted earnings per share (in thousands, except share amounts): ​
​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​
​ | ​ | December 31,
​ |  | 2023 |  | 2022 |  | ​ | 2021 | ​
Numerator: | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​
Net loss | ​ | $ | (1,368,833) | ​ | $ | (724,008) | ​ | $ | (459,965) | ​
Denominator: | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​
Weighted average number of common stock outstanding | ​ |  | 595,468,419 | ​ |  | 579,716,708 | ​ |  | 558,182,177 | ​
​ The potentially dilutive securities are summarized as follows: ​
​ | ​ | ​ | ​ | ​ | ​ | ​
​ | ​ | At December 31,
​ |  | 2023 |  | 2022 |  | 2021
Stock options outstanding (1) | ​ | 39,261,362 |  | 27,598,269 | ​ | 23,806,909
Restricted stock and restricted stock units outstanding (2) | ​ | 6,732,884 |  | 6,276,376 | ​ | 4,851,873
Common stock warrants (3) | ​ | 78,561,263 | ​ | 88,774,725 | ​ | 80,017,181
Convertible Senior Notes (4) | ​ | 39,170,766 |  | 39,170,766 | ​ | 39,170,766
Number of dilutive potential shares of common stock | ​ | 163,726,275 |  | 161,820,136 | ​ | 147,846,729
(1) | During the years ended December 31, 2023, 2022, and 2021, the Company granted options for 13,254,689, 4,761,724, and 16,502,335 shares of common stock, respectively.
​
(2) | During the years ended December 31, 2023, 2022, and 2021, the Company granted 4,131,193, 4,289,682, and 1,894,356, shares of restricted stock and restricted stock units, respectively.
​
(3) | In August 2022, the Company issued a warrant to acquire up to 16,000,000 shares of the Company’s common stock as part of a transaction agreement with Amazon, subject to certain vesting events, as described in Note 17, “Warrant Transaction Agreements”. The warrant had no shares exercised of the Company’s common stock as of December 31, 2023.
​ In April 2017, the Company issued a warrant to acquire up to 55,286,696 of the Company’s common stock as part of a transaction agreement with Amazon, subject to certain vesting events, as described in Note 17, “Warrant Transaction Agreements”. The warrant was exercised with respect to 34,917,912 shares and 24,704,450 shares of the Company’s common stock as of December 31, 2023 and 2022, respectively. ​ In July 2017, the Company issued a warrant to acquire up to 55,286,696 of the Company’s common stock as part of a transaction agreement with Walmart, subject to certain vesting events, as described in Note 17, “Warrant Transaction Agreements”. The warrant had been exercised with respect to 13,094,217 shares of the Company’s common stock as of December 31, 2023 and 2022. ​
(4) | In May 2020, the Company issued $212.5 million in aggregate principal amount of the 3.75% Convertible Senior Notes due 2025 (the “3.75% Convertible Senior Notes”). There were no other conversions for the years ended December 31, 2023 and 2022.

X
- References No definition available. + Details
Name: | us-gaap_EarningsPerShareAbstract
Namespace Prefix: | us-gaap_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition The entire disclosure for earnings per share. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Topic 260 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 1 -Subparagraph (c) -Publisher FASB -URI https://asc.fasb.org//1943274/2147482662/260-10-50-1 Reference 2: http://www.xbrl.org/2003/role/disclosureRef -Topic 260 -Name Accounting Standards Codification -Publisher FASB -URI https://asc.fasb.org//260/tableOfContent Reference 3: http://www.xbrl.org/2003/role/disclosureRef -Topic 260 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 2 -Publisher FASB -URI https://asc.fasb.org//1943274/2147482662/260-10-50-2 Reference 4: http://www.xbrl.org/2003/role/disclosureRef -Topic 260 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 3 -Publisher FASB -URI https://asc.fasb.org//1943274/2147482662/260-10-50-3 + Details
Name: | us-gaap_EarningsPerShareTextBlock
Namespace Prefix: | us-gaap_
Data Type: | dtr-types:textBlockItemType
Balance Type: | na
Period Type: | duration