A motorcyclist sustained a serious leg injury after a crash involving a car.