Common Stock and Stockholders' Equity - Compensation Costs (Details) - USD ($) $ in Thousands |
12 Months Ended | ||
---|---|---|---|
Dec. 31, 2021 |
Dec. 31, 2020 |
Dec. 31, 2019 |
|
Compensation costs charged as an expense | |||
Stock-based compensation | $ 302,586 | $ 475,531 | $ 66,702 |
Cost of revenue (exclusive of depreciation and amortization, which is shown separately) | |||
Compensation costs charged as an expense | |||
Stock-based compensation | 8,280 | 2,700 | 0 |
Advertising and marketing | |||
Compensation costs charged as an expense | |||
Stock-based compensation | 18,952 | 26,995 | 4,956 |
Sales | |||
Compensation costs charged as an expense | |||
Stock-based compensation | 71,475 | 65,730 | 10,286 |
Technology and development | |||
Compensation costs charged as an expense | |||
Stock-based compensation | 95,561 | 60,556 | 7,573 |
General and administrative expenses | |||
Compensation costs charged as an expense | |||
Stock-based compensation | $ 108,318 | $ 319,550 | $ 43,887 |