Sexual harassment induces a temporary fitness cost but does not constrain the acquisition of environmental information in fruit flies