car > bicycle > pedestrian.
The biggest thing that uses the way, that’s the mode that counts when deciding on the highway tag. Let’s not overcomplicate things. We wouldn’t do highway=residential;cycleway;footway to indicate a road that also allows bicycles and pedestrians. We tag the greatest value. So a bicycle+pedestrian shared infrastructure is a cycleway.