If you can do avif with better results than webp then do that.
You can also vary on the data save if you are really keen.