Logarithmic Hochschild co/homology via formality of derived intersections