How much damage can a druid Wild Shaped into a spider take without dying instantly?

A human druid Wild Shapes into a spider and now has 1 maximum hit point. As a spider she gets bitten by a hungry lizard that deals 2 damage.

Does the druid die from Instant Death (PHB p. 197), or does she revert to her human form first (PHB pp. 66–7)?