Silicon Valley skews strongly Democratic, but the party is not a great fit for them. Silicon Valley is liberal on social issues, but opposes government regulation of business.
Small-government conservatives and libertarians are an odd marriage within the Republican Party. They seem similar at first, but small-government conservatives are ok with the government regulating people’s sex lives, and they’re fine with making the US a Christian nation. When libertarians allied with the Republican Party, they made a decision that property rights were more important than other individual rights.