XML 47 R21.htm IDEA: XBRL DOCUMENT
v3.24.0.1

Net Loss Per Share | 12 Months Ended
--- | ---
Dec. 31, 2023
Net Loss Per Share |
Net Loss Per Share | 14.Net Loss Per Share The following outstanding dilutive potential shares were excluded from the calculation of diluted net loss per share due to their anti-dilutive effect:
​ | ​ | ​ | ​ | ​ | ​ | ​
​ | ​ | Year Ended December 31,
​ |  | 2023 |  | 2022 |  | 2021
Stock options, including shares subject to ESPP |  | 24,083,222 |  | 22,214,875 |  | 19,895,097
Restricted stock units |  | 2,266,387 |  | 2,399,465 |  | 1,811,607
Shares issuable upon conversion of 2022 Convertible Notes |  | — |  | 1,078,632 |  | 4,473,871
Shares issuable upon conversion of 2026 Convertible Notes | ​ | 11,942,152 | ​ | 11,942,152 | ​ | 11,942,152
Total |  | 38,291,761 |  | 37,635,124 |  | 38,122,727
​

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