Small-scale electron density and magnetic-field structures in the wake of an ultraintense laser pulse