XML 29 R18.htm IDEA: XBRL DOCUMENT
v3.21.1

Net Loss per Share | 3 Months Ended
--- | ---
Mar. 31, 2021
Net Loss per Share |
Net Loss per Share | 12. Net Loss per Share Basic net loss per share is computed by dividing the net loss attributable to common stockholders by the weighted-average number of common shares outstanding for the period, excluding shares subject to repurchase and without consideration of potentially dilutive securities. Diluted net loss per share is computed by giving effect to all potentially dilutive common shares outstanding for the period. For purposes of this computation, outstanding common stock options, and restricted stock units are considered to be common share equivalents. Common share equivalents are excluded from the computation in periods in which they have an anti-dilutive effect, unless the consideration of any one of them gives a dilutive effect. The Convertible Note is convertible as of March 31, 2021. Upon conversion, the Company has the option to pay cash, issue shares of common stock, or any combination thereof for the aggregate amount due upon conversion. If converted, the value of the Convertible Notes based on contractual settlement provisions would exceed its principal amount by $514.9 million as of March 31, 2021. Since the Company is in a net loss position in the periods presented, the shares which would be issued upon conversion of the Converted Notes are excluded from the net loss per share calculation as it would have an antidilutive effect. As such, the 7.4 million shares underlying the conversion option of the Convertible Notes will not have an impact on the Company’s diluted earnings per share. If converted, the Company does not intend to settle the obligation in cash. The following table provides the basic and diluted net loss per share computations for the three months ended March 31, 2021 and 2020. ​
​ | ​ | ​ | ​ | ​ | ​ | ​ | ​
​ | ​ | Three months ended | ​
​ | ​ | March 31, | ​
(in thousands, except per share data) |  | 2021 |  | 2020 | ​
Numerator: | ​ | ​ | ​ | ​ | ​ | ​ | ​
Net loss, basic and diluted |  | $ | (63,853) |  | $ | (35,372) | ​
​ | ​ | ​ | ​ | ​ | ​ | ​ | ​
Denominator: | ​ | ​ | ​ | ​ | ​ | ​ | ​
Weighted-average number of shares used in computing net loss per share, basic and diluted | ​ | ​ | 86,689 | ​ | ​ | 78,287 | ​
​ | ​ | ​ | ​ | ​ | ​ | ​ | ​
Net loss per share, basic and diluted | ​ | $ | (0.74) | ​ | $ | (0.45) | ​
​ The following table shows total outstanding potentially dilutive shares excluded from the computation of diluted loss per share as their effect would be anti-dilutive, as of March 31, 2021 and 2020: ​
​ | ​ | ​ | ​ | ​
​ | ​ | March 31,
​ |  | 2021 |  | 2020
​ |  | (in thousands)
Options to purchase common stock | ​ | 6,265 |  | 8,505
Restricted stock units | ​ | 4,658 | ​ | 4,140
Employee stock purchase plan | ​ | 90 | ​ | 77
Convertible Notes | ​ | 7,411 | ​ | —
Total | ​ | 18,424 |  | 12,722
​

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://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 260 -URI http://asc.fasb.org/topic&trid=2144383 + Details
Name: | us-gaap_EarningsPerShareTextBlock
Namespace Prefix: | us-gaap_
Data Type: | nonnum:textBlockItemType
Balance Type: | na
Period Type: | duration