But she's not an insider.
The common belief is that insider trading laws are about having data that the market doesn't know. In the US that's just not the basis for the law. In the US there is no expectation that everyone has the same information when trading. The expectation is that people who have a duty to the shareholders are not trading on any non public material information. If you don't have a duty to the shareholders, it doesn't matter how you trade.
Is that the appropriate standard to hold congress people to? I don't know, personally i think, no. But its not obvious that its incorrect from a legal point of view. What fiduciary duty does Nancy Pelosi have to some fund her husband owns? I'm good with a definition that says "once you become a congress person you have fiduciary duty to everyone" but thats not the law now.