Constraining mantle flow with seismic and geodynamic data: A joint approach