Interesting idea, but the selector doesn’t match GP.
If you’re trying to set it to the site logo element, you would use:
However, setting it as a background will require you to set some sort of width and height to the site logo element for it to show up.
You may want to test with the just the
.site-header element until you know the random functionality is right.