Acquisition of ElectraMeccanica - Narrative (Details) - USD ($) $ in Millions |
3 Months Ended | 6 Months Ended | |
|---|---|---|---|
Mar. 26, 2024 |
Jun. 30, 2024 |
Jun. 30, 2024 |
|
| Asset Acquisition [Line Items] | |||
| Severance costs | $ 0.0 | $ 2.0 | |
| ElectraMeccanica Vehicles Corp | |||
| Asset Acquisition [Line Items] | |||
| Issuance of common stock for acquisition (in shares) | 1,766,388 | ||
| ElectraMeccanica Vehicles Corp | XOS Shareholders | |||
| Asset Acquisition [Line Items] | |||
| Common stock ownership percentage after transaction | 79.00% | ||
| ElectraMeccanica Vehicles Corp | ElectraMeccanica Shareholders | |||
| Asset Acquisition [Line Items] | |||
| Common stock ownership percentage after transaction | 21.00% |