Punishment is not vindictive. It’s meant to serve as an atonement. So how can the severity of the sin be determined by it’s punishment.
Wouldn’t it make more sense to say that the nature of the punishment is only indicative of the nature of the exact sin, not the severity.
Only Hashem can determine severity.