v3.24.0.1

Restructuring Charges (Tables) | 12 Months Ended
--- | ---
Dec. 31, 2023
Restructuring and Related Activities [Abstract] |
Restructuring and Related Costs | The restructuring charges for the years ended December 31, 2023 and 2022 are recorded as follows (in thousands):
| Year Ended December 31, 2023 |  | Year Ended December 31, 2022
| Employee Terminations |  | Facilities Exit Costs |  | Asset Impairment Charges |  | Total |  | Employee Terminations |  |  |  | Asset Impairment Charges |  | Total
Cost of revenue, platform | $ | 1,164 |  |  | $ | 1 |  |  | $ | 65,867 |  |  | $ | 67,032 |  |  | $ | — |  |  |  |  | $ | — |  |  | $ | — |
Cost of revenue, devices | 524 |  |  | 6 |  |  | 2,793 |  |  | 3,323 |  |  | — |  |  |  |  | — |  |  | — |
Research and development | 31,160 |  |  | 1,320 |  |  | 78,011 |  |  | 110,491 |  |  | 12,092 |  |  |  |  | 7,500 |  |  | 19,592 |
Sales and marketing | 29,786 |  |  | 517 |  |  | 83,411 |  |  | 113,714 |  |  | 10,904 |  |  |  |  | — |  |  | 10,904 |
General and administrative | 20,531 |  |  | 1,683 |  |  | 39,320 |  |  | 61,534 |  |  | 7,644 |  |  |  |  | — |  |  | 7,644 |
Total restructuring charges | $ | 83,165 |  |  | $ | 3,527 |  |  | $ | 269,402 |  |  | $ | 356,094 |  |  | $ | 30,640 |  |  |  |  | $ | 7,500 |  |  | $ | 38,140 |
A reconciliation of the beginning and ending balance of employee termination restructuring charges and facility exit costs, which are included in Accrued liabilities in the consolidated balance sheets, is as follows (in thousands):
| Year Ended December 31, 2023 |  | Year Ended December 31, 2022
| Employee Terminations |  | Facilities Exit Costs |  | Total |  | Employee Terminations |  |  |  | Total
Beginning balance | $ | 22,093 |  |  | $ | — |  |  | $ | 22,093 |  |  | $ | — |  |  |  |  | $ | — |
Add: Restructuring charges incurred | 83,165 |  |  | 3,527 |  |  | 86,692 |  |  | 30,640 |  |  |  |  | 30,640 |
Less: Payments made | (92,597) |  |  | (2,329) |  |  | (94,926) |  |  | (8,547) |  |  |  |  | (8,547) |
Ending balance | $ | 12,661 |  |  | $ | 1,198 |  |  | $ | 13,859 |  |  | $ | 22,093 |  |  |  |  | $ | 22,093 |

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

X
- Definition Tabular disclosure of costs incurred for restructuring including, but not limited to, exit and disposal activities, remediation, implementation, integration, asset impairment, and charges against earnings from the write-down of assets. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Name Accounting Standards Codification -Topic 420 -SubTopic 10 -Section S99 -Paragraph 1 -Subparagraph (SAB TOPIC 5.P.3) -Publisher FASB -URI https://asc.fasb.org//1943274/2147479823/420-10-S99-1 Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef -Name Accounting Standards Codification -Topic 420 -SubTopic 10 -Section 50 -Paragraph 1 -Publisher FASB -URI https://asc.fasb.org//1943274/2147482017/420-10-50-1 Reference 3: http://fasb.org/us-gaap/role/ref/legacyRef -Name Accounting Standards Codification -Topic 420 -SubTopic 10 -Section S99 -Paragraph 2 -Subparagraph (SAB TOPIC 5.P.4) -Publisher FASB -URI https://asc.fasb.org//1943274/2147479823/420-10-S99-2 + Details
Name: | us-gaap_ScheduleOfRestructuringAndRelatedCostsTextBlock
Namespace Prefix: | us-gaap_
Data Type: | dtr-types:textBlockItemType
Balance Type: | na
Period Type: | duration