Although the fall of Yahoo was probably inevitable, our fascination with celebrity leaders has resulted in an extraordinary amount of interest in Marissa Mayer’s recent resignation as CEO, in particular her $23 million golden parachute. Five years ago, her appointment was received with both surprise and hope (an unusual combination), though there was no shortage of critics who predicted her demise. As Steve Jobs once noted, it is always easier to connect the dots when you’re looking backwards. With that luxury in our hands now, here are some critical leadership lessons we can draw from Mayer’s tenure as CEO of Yahoo.