Envoyer par SMS: Learning in a Hiring Logic and Optimal Contracts