Another option is to just tax fuel, which has the nice side effect of being roughly proportionate to actual road usage and pollution.
Ideally, vehicles should be charged in relation to approximately the fourth power of their weight as that is proportional to the road damage. However, that will drastically change the economics of logistics companies.