Thanks for the replies!
So, two pilots can't log half of the time each, blocking on or off in mid-air? Like (I imagine) a relief pilot would do on an airliner?
In my specific case, me and a fellow student each flew half of the leg as students (dual). So the instructor was PIC and didn't switch, if this matters.