All-Time Single-Photon 3D Imaging Over 21 km