Beyond cusp anomalous dimension from integrability