Hot, rocky and warm, puffy super-Earths orbiting TOI-402 (HD 15337)