Evidence for the origin of layered deposits in Candor Chasma, Mars, from mineral composition and hydrologic modeling