We establish the topology of the spin-singlet superconducting states in the bare hyperhoneycomb lattice, and we derive analytically the full phase diagram using only symmetry and topology in combination with simple energy arguments. The phase diagram is dominated by two states preserving time-reversal symmetry. We find a line-nodal state dominating at low doping levels that is topologically nontrivial and exhibits surface Majorana flatbands, which we show perfectly match the bulk-boundary correspondence using the Berry phase approach. At higher doping levels, we find a fully gapped state with trivial topology. By analytically calculating the topological invariant of the nodal lines, we derive the critical point between the line-nodal and fully gapped states as a function of both pairing parameters and doping. We find that the line-nodal state is favored not only at lower doping levels but also if symmetry-allowed deformations of the lattice are present. Adding simple energy arguments, we establish that a fully gapped state with broken time-reversal symmetry likely appears covering the actual phase transition. We find this fully gapped state to be topologically trivial, while we find an additional point-nodal state at very low doing levels that also break time-reversal symmetry and has nontrivial topology with associated Fermi surface arcs. We eventually address the robustness of the phase diagram to generalized models also including adiabatic spin-orbit coupling, and we show how all but the point-nodal state are reasonably stable.