Bifurcation of planetary building blocks during Solar System formation