San Francisco-based tech firm Thumbtack has hired former Cummins Inc. lawyer Melanie Margolin as chief legal officer.