Lemonade stock surges 24% after reinsurance deal cuts costs