v3.24.0.1

Net Income (Loss) Per Share | 12 Months Ended
--- | ---
Dec. 31, 2023
Earnings Per Share [Abstract] |
Net Income (Loss) Per Share | NET INCOME (LOSS) PER SHARE The Company’s basic net income (loss) per share is calculated by dividing the net income (loss) by the weighted-average number of shares of common stock outstanding for the period. The Company uses the two-class method to calculate net income (loss) per share. Except with respect to certain voting, conversion, and transfer rights and as otherwise expressly provided in the Company’s amended and restated certificate of incorporation or required by applicable law, shares of the Company’s Class A common stock and Class B common stock have the same rights and privileges and rank equally, share ratably, and are identical in all respects as to all matters. Accordingly, basic and diluted net income (loss) per share are the same for both classes. For purposes of the calculation of diluted net income (loss) per share, options to purchase common stock and restricted stock units are considered common stock equivalents. Dilutive shares of common stock are determined by applying the treasury stock method. The dilutive shares are excluded from the calculation of diluted net loss per share in the period of net loss, as their effect is antidilutive. The following table presents the calculation of basic and diluted net income (loss) per share as follows (in thousands, except per share data):
| Years Ended December 31,
| 2023 |  | 2022 |  | 2021
Numerator: |  |  |  |  |
Net income (loss) | $ | (709,561) |  |  | $ | (498,005) |  |  | $ | 242,385 |
Denominator: |  |  |  |  |
Basic net income (loss) per share: |  |  |  |  |
Weighted-average common shares outstanding — basic | 141,572 |  | 137,668 |  | 132,710
Net income (loss) per share — basic | $ | (5.01) |  |  | $ | (3.62) |  |  | $ | 1.83 |
Diluted net income (loss) per share: |  |  |  |  |
Weighted-average common shares outstanding — basic | 141,572 |  | 137,668 |  | 132,710
Effect of potentially dilutive securities: |  |  |  |  |
Restricted stock units | — |  |  | — |  |  | 2,744 |
Stock options | — |  |  | — |  |  | 6,214 |
Weighted-average common shares outstanding — diluted | 141,572 |  | 137,668 |  | 141,668
Net income (loss) per share — diluted | $ | (5.01) |  |  | $ | (3.62) |  |  | $ | 1.71 |
Common stock equivalents excluded from the calculation of diluted net income (loss) per share because of their anti-dilutive effect were 14.0 million, 14.4 million and 1.1 million units of equity awards to purchase common stock granted under the Company’s equity plans for the years ended December 31, 2023, 2022, and 2021, respectively.

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