Ars did that analysis and concluded that "In two years, the EV will have caught up to the used car in terms of ecological footprint". After that, the EV is much better for the environment.
https://arstechnica.com/cars/2022/04/new-ev-vs-old-beater-wh...
In light of that, and their distaste for Elon, Democrats face a tough choice. Do they care more about the culture wars or climate change?