Collagen is a protein material with superior mechanical properties. It consists of collagen fibrils composed of a staggered array of ultra-long tropocollagen (TC) molecules. Theoretical and molecular modeling suggests that this natural design of collagen fibrils maximizes the strength and provides large energy dissipation during deformation, thus creating a tough and robust material. We find that the mechanics of collagen fibrils can be understood quantitatively in terms of two critical molecular length scales χS and χR that characterize when (i) deformation changes from homogeneous intermolecular shear to propagation of slip pulses and when (ii) covalent bonds within TC molecules begin to fracture, leading to brittle-like failure. The ratio χS/χR indicates which mechanism dominates deformation. Our modeling rigorously links the chemical properties of individual TC molecules to the macroscopic mechanical response of fibrils. The results help to explain why collagen fibers found in nature consist of TC molecules with lengths in the proximity of 300 nm and advance the understanding how collagen diseases that change intermolecular adhesion properties influence mechanical properties.