Adobe will pay $12 per share for the company, representing a premium of around 77.5% to Semrush's closing price on Tuesday.