The logo is stored in the Motherboard BIOS or UEFI, and it works only in the UEFI mode. Earlier it used to work with the BIOS Legacy mode, but not anymore. Some OEMs also offer to change it directly from the UEFI if you have the right size of files or image that you want to use it.