Text this: Learning in a Hiring Logic and Optimal Contracts