Dana Wagner is departing the cloud-based communications platform Twilio after three tumultuous years as chief legal officer.

The San Francisco-based company was a Wall Street darling when Wagner took the legal reins in December 2021, enticed to give up his CLO post at Impossible Foods partly by a $12.8 million sign-on stock grant, among the largest ever for a corporate lawyer. But in the intervening years, Twilio's growth rate tumbled, its stock price declined by more than half, and activists jumped into the fray to second-guess the company's strategy.