Stock-Based Compensation and Equity - Stock-Based Compensation Expense (Detail) - USD ($) $ in Thousands |
3 Months Ended | 12 Months Ended | ||
|---|---|---|---|---|
Mar. 31, 2021 |
Dec. 31, 2022 |
Dec. 31, 2021 |
Dec. 31, 2020 |
|
| Share-based Compensation Arrangement by Share-based Payment Award [Line Items] | ||||
| Total stock-based compensation | $ 37,200 | $ 78,734 | $ 166,428 | $ 198,213 |
| Operating expenses | ||||
| Share-based Compensation Arrangement by Share-based Payment Award [Line Items] | ||||
| Total stock-based compensation | 7,892 | 16,567 | 20,157 | |
| Selling expenses | ||||
| Share-based Compensation Arrangement by Share-based Payment Award [Line Items] | ||||
| Total stock-based compensation | 39,584 | 103,239 | 101,623 | |
| General and administrative expenses | ||||
| Share-based Compensation Arrangement by Share-based Payment Award [Line Items] | ||||
| Total stock-based compensation | $ 31,258 | $ 46,622 | $ 76,433 | |