Mid-sized farms—and the local food you buy—are in danger