Text this: The logics of social structure