Why is the ionisation enthalpy of hydrogen higher than that of sodium?

The ionisation of hydrogen higher than that of sodium. Both hydrogen and sodium have one electron in the valence shell. But the size of hydrogen is much smaller than that of sodium and hence, the ionisation enthalpy of hydrogen is much higher (1312 kJ mol-1) than that of sodium (496 kJ mol-1).