Property and Equipment, net - Schedule of Property and Equipment, net (Details) - USD ($) $ in Thousands |
Dec. 31, 2023 |
Dec. 31, 2022 |
|---|---|---|
| Property, Plant and Equipment [Line Items] | ||
| Total property and equipment | $ 297,148 | $ 204,424 |
| Less: Accumulated depreciation and amortization | (148,009) | (136,985) |
| Total property and equipment, net | 149,139 | 67,439 |
| Machinery and equipment | ||
| Property, Plant and Equipment [Line Items] | ||
| Total property and equipment | 17,216 | 11,742 |
| Leasehold improvements, furniture, and computer hardware | ||
| Property, Plant and Equipment [Line Items] | ||
| Total property and equipment | 47,810 | 44,547 |
| Vehicles | ||
| Property, Plant and Equipment [Line Items] | ||
| Total property and equipment | 157,486 | 94,821 |
| Computer software | ||
| Property, Plant and Equipment [Line Items] | ||
| Total property and equipment | $ 74,636 | $ 53,314 |