That contract can govern all manner of different circumstances including the circumstances in which the allocation of shares are transferred.
Sometimes only a motion of the board is required, sometimes additionally a motion by a general meeting with various options for requiring super majorities across and within the different classes can be required too.
Fiduciary duties often require the Board to act in the objective best interest of the members.
In my opinion it is better model to think of a company as a club (hence shareholders often being called a Member) rather than something that you own.
Edit: from the first result in Google:
> Casalena and long-term investors General Atlantic and Accel, which make up about 90% of the Squarespace’s voting shares, have agreed to vote in favor of the transaction.
So I guess the shareholders mentioned in the subheading of the linked press release own a majority.