Sedimentary rocks are only a thin veneer over a crust consisting mainly of igneous and metamorphic rocks.