When you are talking about a small signal Rf diode , you can find the theory behind in the Pozar book just keep in mind thats the second derivative of the current vs voltage characteristic which makes the small signal rectification effect.And Diode detector work from a few Hz to > 100 Ghz