Lease Accounting - Components of charging equipment and charging stations (Details) - USD ($) $ in Thousands |
Jun. 30, 2024 |
Dec. 31, 2023 |
|---|---|---|
| Property, Plant, and Equipment, Lessor Asset under Operating Lease | ||
| Total property, equipment and software | $ 524,465 | $ 481,565 |
| Less: accumulated depreciation | (121,047) | (92,338) |
| Property, equipment and software, net | 403,418 | 389,227 |
| Operating lease right-of-use assets | 79,444 | 67,724 |
| Components Leased to Third Parties | ||
| Property, Plant, and Equipment, Lessor Asset under Operating Lease | ||
| Less: accumulated depreciation | (1,495) | (1,307) |
| Property, equipment and software, net | 3,998 | 4,634 |
| Operating lease right-of-use assets | 11,016 | 11,764 |
| Charging station equipment and construction costs | Components Leased to Third Parties | ||
| Property, Plant, and Equipment, Lessor Asset under Operating Lease | ||
| Total property, equipment and software | $ 5,493 | $ 5,941 |