Ecthyma is the most serious type of impetigo. It affects the dermis on a deeper level than the other forms of the infection.